Skip to content

Documents won't load on AIO #4434

Open
Open
@thegrasshopper104

Description

Describe the bug
Since I updated to 10.1 or 10.2 office documents just show an endless spinner. (My configuration didn't change otherwise)
AIO version: Nextcloud AIO v10.4.0

[index] Error: Call to a member function xpath() on false in file '/var/www/html/custom_apps/richdocuments/lib/WOPI/Parser.php' line 41
	POST /apps/richdocuments/token
	from 192.168.0.215 by aronkvh at 2025. jan. 21. 23:42:58
In settings, the Office page says
Could not establish connection to the Collabora Online server.
Failed to connect to the remote server: cURL error 28: Connection timed out after 5002 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://mydomainname.com/hosting/discovery

To Reproduce
Try opening any office document.

Client details:
Happens on desktop and mobile, any browser

Server details

Operating system: Ubuntu 22.04.5 LTS

Web server: Apache(AIO)

Nextcloud version: Nextcloud Hub 9 (30.0.5)

Version of the richdocuments app: 8.5.3

Version of Collabora Online

Configuration of the richdocuments app

{
    "apps": {
        "richdocuments": {
            "wopi_allowlist": "🟦🟦🟦🟦,127.0.0.1\/8,192.168.0.0\/16,172.16.0.0\/12,10.0.0.0\/8,fd00::\/8,::1,104.21.67.47,2606:4700:3031::ac43:d584,🟩🟩🟩🟩",
            "types": "prevent_group_restriction",
            "wopi_callback_url": "",
            "public_wopi_url": "⬛⬛⬛⬛",
            "installed_version": "8.5.3",
            "wopi_url": "⬛⬛⬛⬛",
            "disable_certificate_verification": "",
            "enabled": "yes"
        }
    }
}

Output from curl -vvv https://$NC_DOMAIN:443/hosting/discovery

22:53:38.033714 [0-x] == Info: [READ] client_reset, clear readers
22:53:38.054734 [0-0] == Info: Host ⬛⬛⬛⬛:443 was resolved.
22:53:38.054928 [0-0] == Info: IPv6: (none)
22:53:38.055119 [0-0] == Info: IPv4: {{publicip}}
22:53:38.055283 [0-0] == Info: [HTTPS-CONNECT] added
22:53:38.055486 [0-0] == Info: [HTTPS-CONNECT] connect, init
22:53:38.055662 [0-0] == Info: [HTTPS-CONNECT] connect, check h21
22:53:38.055863 [0-0] == Info: Trying {{publicip}}:443...
22:53:38.056249 [0-0] == Info: [HTTPS-CONNECT] connect -> 0, done=0
22:53:38.056545 [0-0] == Info: [HTTPS-CONNECT] adjust_pollset -> 1 socks
22:53:39.057304 [0-0] == Info: [HTTPS-CONNECT] connect, check h21
22:53:39.057458 [0-0] == Info: [HTTPS-CONNECT] connect -> 0, done=0
22:53:39.057748 [0-0] == Info: [HTTPS-CONNECT] adjust_pollset -> 1 socks
22:53:40.036040 [0-0] == Info: [HTTPS-CONNECT] connect, check h21

Report in the AIO repo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    info neededFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions