Could not establish connection to the Collabora Online server. How to debug?

Hello,
after searching this forum a lot I have no idea how to debug this problem. But maybe I’m just overlooking the obvious.

System information:

OS: AlmaLinux 9.4
Architecture: x86-64
AIO v9.7.0/NC 29.0.8
Docker Engine 27.3.1

/etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
docker-compose.yml
services:
  nextcloud-aio-mastercontainer:
    image: nextcloud/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed as otherwise AIO will not work correctly
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work
      - /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation. If adjusting, don't forget to also set 'WATCHTOWER_DOCKER_SOCKET_PATH'!
    network_mode: bridge # add to the same network as docker run would do
    ports:
      # - 80:80 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
      - 8080:8080
      # - 8443:8443 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
    environment: # Is needed when using any of the options below
      # AIO_DISABLE_BACKUP_SECTION: false # Setting this to true allows to hide the backup section in the AIO interface. See https://github.com/nextcloud/all-in-one#how-to-disable-the-backup-section
      APACHE_PORT: 11000 # Is needed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
      APACHE_IP_BINDING: 127.0.0.1 # Should be set when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else) that is running on the same host. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
      # BORG_RETENTION_POLICY: --keep-within=7d --keep-weekly=4 --keep-monthly=6 # Allows to adjust borgs retention policy. See https://github.com/nextcloud/all-in-one#how-to-adjust-borgs-retention-policy
      # COLLABORA_SECCOMP_DISABLED: false # Setting this to true allows to disable Collabora's Seccomp feature. See https://github.com/nextcloud/all-in-one#how-to-disable-collaboras-seccomp-feature
      NEXTCLOUD_DATADIR: /mnt/md0/nc-data/ # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud installation is done! See https://github.com/nextcloud/all-in-one#how-to-chang>
      # NEXTCLOUD_MOUNT: /mnt/ # Allows the Nextcloud container to access the chosen directory on the host. See https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host
      # NEXTCLOUD_UPLOAD_LIMIT: 10G # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud
      # NEXTCLOUD_MAX_TIME: 3600 # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud
      NEXTCLOUD_MEMORY_LIMIT: 12000M # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud
      # NEXTCLOUD_TRUSTED_CACERTS_DIR: /path/to/my/cacerts # CA certificates in this directory will be trusted by the OS of the nexcloud container (Useful e.g. for LDAPS) See See https://github.com/nextcloud/all-in-one#how-to-trust-user-defined-certifica>
      # NEXTCLOUD_STARTUP_APPS: deck twofactor_totp tasks calendar contacts notes # Allows to modify the Nextcloud apps that are installed on starting AIO the first time. See https://github.com/nextcloud/all-in-one#how-to-change-the-nextcloud-apps-that-a>
      # NEXTCLOUD_ADDITIONAL_APKS: imagemagick # This allows to add additional packages to the Nextcloud container permanently. Default is imagemagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add->
      # NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS: imagick # This allows to add additional php extensions to the Nextcloud container permanently. Default is imagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how>
      NEXTCLOUD_ENABLE_DRI_DEVICE: true # This allows to enable the /dev/dri device in the Nextcloud container. ⚠️⚠️⚠️ Warning: this only works if the '/dev/dri' device is present on the host! If it should not exist on your host, don't set this to true as o>
      # NEXTCLOUD_KEEP_DISABLED_APPS: false # Setting this to true will keep Nextcloud apps that are disabled in the AIO interface and not uninstall them if they should be installed. See https://github.com/nextcloud/all-in-one#how-to-keep-disabled-apps
      # TALK_PORT: 3478 # This allows to adjust the port that the talk container is using. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-talk-port
      # WATCHTOWER_DOCKER_SOCKET_PATH: /var/run/docker.sock # Needs to be specified if the docker socket on the host is not located in the default '/var/run/docker.sock'. Otherwise mastercontainer updates will fail. For macos it needs to be '/var/run/doc>
      # SKIP_DOMAIN_VALIDATION: true # If you are completely sure that you've configured everything correctly and are not able to pass the domain validation, you may skip the domain validation
      AIO_COMMUNITY_CONTAINERS: "facerecognition libretranslate local-ai memories" # https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers
    security_opt: ["label:disable"] # Is needed when using SELinux

volumes: # If you want to store the data on a different drive, see https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer # This line is not allowed to be changed as otherwise the built-in backup solution will not work

I use Nginx Proxy Manager as reverse proxy and followed the corresponding instructions.

My observations:

IPv6

I don’t use Collabora very often. I activated IPv6 a few weeks ago. Everything worked before. Could this have something to do with it?

Weird behaviour in admin settings

When I go to https://cloud.sld.tld/settings/admin/richdocuments I see this page at first:

After a few seconds or after clicking e.g. in “Allow list for WOPI requests” this page appears:

Last log messages of nextcloud-aio-collabora

Collabora logs
2024-11-02T12:01:06.731050593Z wsd-00006-00016 2024-11-02 13:01:06.730990 +0100 [ remotefontconfig_poll ] WRN  #23: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30024ms| net/HttpRequest.hpp:1706
2024-11-02T12:01:06.731077718Z wsd-00006-00016 2024-11-02 13:01:06.731056 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:02:36.821381236Z wsd-00006-00016 2024-11-02 13:02:36.821224 +0100 [ remotefontconfig_poll ] WRN  #23: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30030ms| net/HttpRequest.hpp:1706
2024-11-02T12:02:36.821415786Z wsd-00006-00016 2024-11-02 13:02:36.821322 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:04:06.853658814Z wsd-00006-00016 2024-11-02 13:04:06.853559 +0100 [ remotefontconfig_poll ] WRN  #23: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30030ms| net/HttpRequest.hpp:1706
2024-11-02T12:04:06.853679370Z wsd-00006-00016 2024-11-02 13:04:06.853621 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:04:25.687479320Z wsd-00006-00018 2024-11-02 13:04:25.687297 +0100 [ websrv_poll ] WRN  convert-to: Requesting address is denied: an:IPv6:address| wsd/ClientRequestDispatcher.cpp:494
2024-11-02T12:04:47.980061252Z wsd-00006-00018 2024-11-02 13:04:47.980003 +0100 [ websrv_poll ] WRN  convert-to: Requesting address is denied: an:IPv6:address| wsd/ClientRequestDispatcher.cpp:494
2024-11-02T12:04:55.056840698Z wsd-00006-00018 2024-11-02 13:04:55.056790 +0100 [ websrv_poll ] WRN  convert-to: Requesting address is denied: an:IPv6:address| wsd/ClientRequestDispatcher.cpp:494
2024-11-02T12:05:02.748992565Z wsd-00006-00018 2024-11-02 13:05:02.748943 +0100 [ websrv_poll ] WRN  convert-to: Requesting address is denied: an:IPv6:address| wsd/ClientRequestDispatcher.cpp:494
2024-11-02T12:05:12.376067602Z wsd-00006-00018 2024-11-02 13:05:12.376018 +0100 [ websrv_poll ] WRN  convert-to: Requesting address is denied: an:IPv6:address| wsd/ClientRequestDispatcher.cpp:494
2024-11-02T12:05:36.942161237Z wsd-00006-00016 2024-11-02 13:05:36.942061 +0100 [ remotefontconfig_poll ] WRN  #33: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30029ms| net/HttpRequest.hpp:1706
2024-11-02T12:05:36.942189577Z wsd-00006-00016 2024-11-02 13:05:36.942174 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:07:07.032117960Z wsd-00006-00016 2024-11-02 13:07:07.032062 +0100 [ remotefontconfig_poll ] WRN  #33: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30029ms| net/HttpRequest.hpp:1706
2024-11-02T12:07:07.032146987Z wsd-00006-00016 2024-11-02 13:07:07.032131 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:08:07.792251681Z wsd-00006-00018 2024-11-02 13:08:07.792208 +0100 [ websrv_poll ] WRN  convert-to: Requesting address is denied: an:IPv6:address| wsd/ClientRequestDispatcher.cpp:494
2024-11-02T12:08:37.122187015Z wsd-00006-00016 2024-11-02 13:08:37.122070 +0100 [ remotefontconfig_poll ] WRN  #23: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30029ms| net/HttpRequest.hpp:1706
2024-11-02T12:08:37.122224649Z wsd-00006-00016 2024-11-02 13:08:37.122184 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:10:07.208972452Z wsd-00006-00016 2024-11-02 13:10:07.208821 +0100 [ remotefontconfig_poll ] WRN  #23: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30030ms| net/HttpRequest.hpp:1706
2024-11-02T12:10:07.208996345Z wsd-00006-00016 2024-11-02 13:10:07.208896 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:11:37.287831280Z wsd-00006-00016 2024-11-02 13:11:37.287641 +0100 [ remotefontconfig_poll ] WRN  #23: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30030ms| net/HttpRequest.hpp:1706
2024-11-02T12:11:37.287846340Z wsd-00006-00016 2024-11-02 13:11:37.287750 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:12:28.401635487Z wsd-00006-00018 2024-11-02 13:12:28.401587 +0100 [ websrv_poll ] WRN  convert-to: Requesting address is denied: an:IPv6:address| wsd/ClientRequestDispatcher.cpp:494
2024-11-02T12:13:07.347256585Z wsd-00006-00016 2024-11-02 13:13:07.347157 +0100 [ remotefontconfig_poll ] WRN  #33: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30006ms| net/HttpRequest.hpp:1706
2024-11-02T12:13:07.347273280Z wsd-00006-00016 2024-11-02 13:13:07.347230 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:14:03.765672240Z wsd-00006-00018 2024-11-02 13:14:03.765620 +0100 [ websrv_poll ] WRN  convert-to: Requesting address is denied: an:IPv6:address| wsd/ClientRequestDispatcher.cpp:494
2024-11-02T12:14:29.430776806Z wsd-00006-00018 2024-11-02 13:14:29.430583 +0100 [ websrv_poll ] WRN  convert-to: Requesting address is denied: an:IPv6:address| wsd/ClientRequestDispatcher.cpp:494
2024-11-02T12:14:37.378286483Z wsd-00006-00016 2024-11-02 13:14:37.378079 +0100 [ remotefontconfig_poll ] WRN  #33: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30030ms| net/HttpRequest.hpp:1706
2024-11-02T12:14:37.378328830Z wsd-00006-00016 2024-11-02 13:14:37.378184 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:14:47.845690530Z wsd-00006-00018 2024-11-02 13:14:47.845637 +0100 [ websrv_poll ] WRN  convert-to: Requesting address is denied: an:IPv6:address| wsd/ClientRequestDispatcher.cpp:494
2024-11-02T12:16:07.462678039Z wsd-00006-00016 2024-11-02 13:16:07.462537 +0100 [ remotefontconfig_poll ] WRN  #33: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30024ms| net/HttpRequest.hpp:1706
2024-11-02T12:16:07.462697001Z wsd-00006-00016 2024-11-02 13:16:07.462630 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:17:37.524454888Z wsd-00006-00016 2024-11-02 13:17:37.524275 +0100 [ remotefontconfig_poll ] WRN  #23: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30001ms| net/HttpRequest.hpp:1706
2024-11-02T12:17:37.524481298Z wsd-00006-00016 2024-11-02 13:17:37.524369 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:19:07.603903686Z wsd-00006-00016 2024-11-02 13:19:07.603702 +0100 [ remotefontconfig_poll ] WRN  #23: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30030ms| net/HttpRequest.hpp:1706
2024-11-02T12:19:07.603935309Z wsd-00006-00016 2024-11-02 13:19:07.603814 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:20:37.642888914Z wsd-00006-00016 2024-11-02 13:20:37.642702 +0100 [ remotefontconfig_poll ] WRN  #23: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30030ms| net/HttpRequest.hpp:1706
2024-11-02T12:20:37.642919180Z wsd-00006-00016 2024-11-02 13:20:37.642811 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:22:07.706789524Z wsd-00006-00016 2024-11-02 13:22:07.706584 +0100 [ remotefontconfig_poll ] WRN  #23: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30021ms| net/HttpRequest.hpp:1706
2024-11-02T12:22:07.706824159Z wsd-00006-00016 2024-11-02 13:22:07.706649 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:23:37.777279800Z wsd-00006-00016 2024-11-02 13:23:37.777149 +0100 [ remotefontconfig_poll ] WRN  #23: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30016ms| net/HttpRequest.hpp:1706
2024-11-02T12:23:37.777301168Z wsd-00006-00016 2024-11-02 13:23:37.777250 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:25:07.824318181Z wsd-00006-00016 2024-11-02 13:25:07.824141 +0100 [ remotefontconfig_poll ] WRN  #23: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30007ms| net/HttpRequest.hpp:1706
2024-11-02T12:25:07.824362064Z wsd-00006-00016 2024-11-02 13:25:07.824208 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:26:04.099393357Z wsd-00006-00018 2024-11-02 13:26:04.099349 +0100 [ websrv_poll ] WRN  convert-to: Requesting address is denied: an:IPv6:address| wsd/ClientRequestDispatcher.cpp:494
2024-11-02T12:26:37.913339717Z wsd-00006-00016 2024-11-02 13:26:37.913179 +0100 [ remotefontconfig_poll ] WRN  #33: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30028ms| net/HttpRequest.hpp:1706
2024-11-02T12:26:37.913377222Z wsd-00006-00016 2024-11-02 13:26:37.913273 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213
2024-11-02T12:28:08.002803516Z wsd-00006-00016 2024-11-02 13:28:08.002573 +0100 [ remotefontconfig_poll ] WRN  #33: Timed out while requesting [GET cloud.sld.tld/apps/richdocuments/settings/fonts.json] after 30029ms| net/HttpRequest.hpp:1706
2024-11-02T12:28:08.002828682Z wsd-00006-00016 2024-11-02 13:28:08.002662 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0 (Unknown)| wsd/COOLWSD.cpp:1213

I am grateful for any help, especially which additional logs might be interesting.

sounds like your Allow List for WOPI requests lacks your IPv6 address. The system performs public DNS resolution and in turn connects there (and often prefers IPv6) - sometimes this results in strange issues inside on Docker container (e.g. firewall issues). Please review Collabora integration guide to understand the communication triangle. IPv6 only, can't connect to itself and Topics tagged ipv6 & aio might help

1 Like

Thank you very much for your response. I will have a look there and will document my experience here.