Nextcloud AiO and collabora (office) buit-in document editing ist not working

Steps to reproduce

  1. Open a odt file

Expected behavior

Document should be opened within Collabora.

Actual behavior

Error message:

Document loading failed

Failed to establish socket connection or socket connection closed unexpectedly. The reverse proxy might be misconfigured, please contact the administrator. For more info on proxy configuration please checkout https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html

Host OS

Ubuntu 22.04.4 LTS

Nextcloud AIO version

Nextcloud AIO v8.1.0

Current channel

latest

Other valuable info

I followed the steps at How to debug problems with Collabora and/or Talk · nextcloud/all-in-one · Discussion #1358 · GitHub

I have added 0.0.0.0/0 to the allow list for WOPI requests input field at https://example.com/settings/admin/richdocuments.

Output of https://$NC_DOMAIN:443/hosting/discovery
curl -vvv https://$NC_DOMAIN:443/hosting/discovery 
* Host example.com:443 was resolved.
* IPv6: (none)
* IPv4: 85.215.48.19
*   Trying 85.215.48.19:443...
* Connected to example.com (85.215.48.19) port 443

* ALPN: curl offers h2,http/1.1

* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):

* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):

* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519 / RSASSA-PSS
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=example.com
*  start date: Feb 24 18:49:08 2024 GMT
*  expire date: May 24 18:49:07 2024 GMT
*  subjectAltName: host "example.com" matched cert's "example.com"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
*   Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://example.com:443/hosting/discovery
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: example.com]
* [HTTP/2] [1] [:path: /hosting/discovery]
* [HTTP/2] [1] [user-agent: curl/8.5.0]
* 
[HTTP/2] [1] [accept: */*]
> GET /hosting/discovery HTTP/2
> Host: example.com
> User-Agent: curl/8.5.0
> Accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
< HTTP/2 200 
< server: nginx
< date: Wed, 24 Apr 2024 15:49:43 GMT
< content-type: text/xml
< content-length: 28939
< last-modified: Wed, 24 Apr 2024 15:49:43
< x-content-type-options: nosniff
< x-powered-by: PleskLin
< strict-transport-security: max-age=31536000; includeSubDomains
< 
<wopi-discovery>
    <net-zone name="external-http">

        <!-- Writer documents -->
        <app favIconUrl="https://example.com/browser/baa6eef/images/x-office-document.svg" name="writer">
            <action default="true" ext="sxw" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="odt" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="fodt" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- Text template documents -->
            <action default="true" ext="stw" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="ott" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- MS Word -->
            <action default="true" ext="doc" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="dot" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- OOXML wordprocessing -->
            <action default="true" ext="docx" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="docm" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="dotx" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="dotm" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- Others -->
            <action default="true" ext="wpd" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="pdb" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="hwp" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="wps" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="wri" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="lrf" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="mw" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="rtf" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="txt" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="fb2" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="cwk" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="pages" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="abw" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="602" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <app name="writer-global">
            <!-- Text master documents -->
            <action default="true" ext="sxg" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="odm" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- Writer master document templates -->
            <action default="true" ext="otm" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <app name="writer-web">
            <action default="true" ext="oth" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Calc documents -->
        <app favIconUrl="https://example.com/browser/baa6eef/images/x-office-spreadsheet.svg" name="calc">
            <action default="true" ext="sxc" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="ods" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="fods" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- Spreadsheet template documents -->
            <action default="true" ext="stc" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="ots" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- MS Excel -->
            <action default="true" ext="xls" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="xla" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- OOXML spreadsheet -->
            <action default="true" ext="xltx" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="xltm" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="xlsx" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="xlsb" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="xlsm" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- Others -->
            <action default="true" ext="dif" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="slk" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="csv" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="dbf" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="wk1" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="gnumeric" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="numbers" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Impress documents -->
        <app favIconUrl="https://example.com/browser/baa6eef/images/x-office-presentation.svg" name="impress">
            <action default="true" ext="sxi" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="odp" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="fodp" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- Presentation template documents -->
            <action default="true" ext="sti" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="otp" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- MS PowerPoint -->
            <action default="true" ext="ppt" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="pot" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- OOXML presentation -->
            <action default="true" ext="pptx" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="pptm" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="potx" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="potm" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="ppsx" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- Others -->
            <action default="true" ext="cgm" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="key" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Draw documents -->
        <app name="draw">
            <action default="true" ext="sxd" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="odg" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="fodg" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- Drawing template documents -->
            <action default="true" ext="std" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="otg" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <!-- Others -->
            <action ext="svg" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="dxf" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="emf" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="wmf" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="cdr" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="vsd" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="vsdx" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="vss" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="pub" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="p65" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="wpg" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action default="true" ext="fh" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action ext="bmp" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action ext="png" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action ext="gif" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action ext="tiff" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action ext="jpg" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action ext="jpeg" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
            <action ext="pdf" name="view_comment" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Math documents -->
        <!-- In fact Math documents are not supported at all.
             See: https://bugs.documentfoundation.org/show_bug.cgi?id=97006
        <app name="math">
            <action name="view" default="true" ext="sxm"/>
            <action name="edit" default="true" ext="odf"/>
        </app>
        -->

        <!-- Legacy MIME-type actions (compatibility) -->

        <app name="image/svg+xml">
            <action ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.ms-powerpoint">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.ms-excel">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Writer documents -->
        <app name="application/vnd.sun.xml.writer">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-flat-xml">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Calc documents -->
        <app name="application/vnd.sun.xml.calc">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.spreadsheet">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.spreadsheet-flat-xml">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Impress documents -->
        <app name="application/vnd.sun.xml.impress">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.presentation">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.presentation-flat-xml">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Draw documents -->
        <app name="application/vnd.sun.xml.draw">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.graphics">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.graphics-flat-xml">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Chart documents -->
        <app name="application/vnd.oasis.opendocument.chart">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Text master documents -->
        <app name="application/vnd.sun.xml.writer.global">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-master">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Math documents -->
        <!-- In fact Math documents are not supported at all.
             See: https://bugs.documentfoundation.org/show_bug.cgi?id=97006
        <app name="application/vnd.sun.xml.math">
            <action name="view" default="true" ext=""/>
        </app>
        <app name="application/vnd.oasis.opendocument.formula">
            <action name="edit" default="true" ext=""/>
        </app>
        -->
        <!-- Text template documents -->
        <app name="application/vnd.sun.xml.writer.template">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-template">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Writer master document templates -->
        <app name="application/vnd.oasis.opendocument.text-master-template">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Spreadsheet template documents -->
        <app name="application/vnd.sun.xml.calc.template">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.spreadsheet-template">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Presentation template documents -->
        <app name="application/vnd.sun.xml.impress.template">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.presentation-template">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Drawing template documents -->
        <app name="application/vnd.sun.xml.draw.template">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.graphics-template">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- MS Word -->
        <app name="application/msword">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/msword">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- MS Excel -->
        <app name="application/vnd.ms-excel">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- MS PowerPoint -->
        <app name="application/vnd.ms-powerpoint">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- OOXML wordprocessing -->
        <app name="application/vnd.openxmlformats-officedocument.wordprocessingml.document">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.ms-word.document.macroEnabled.12">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.openxmlformats-officedocument.wordprocessingml.template">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.ms-word.template.macroEnabled.12">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- OOXML spreadsheet -->
        <app name="application/vnd.openxmlformats-officedocument.spreadsheetml.template">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.ms-excel.template.macroEnabled.12">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.ms-excel.sheet.binary.macroEnabled.12">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.ms-excel.sheet.macroEnabled.12">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- OOXML presentation -->
        <app name="application/vnd.openxmlformats-officedocument.presentationml.presentation">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.ms-powerpoint.presentation.macroEnabled.12">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.openxmlformats-officedocument.presentationml.template">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.ms-powerpoint.template.macroEnabled.12">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- Others -->
        <app name="application/vnd.wordperfect">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-aportisdoc">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-hwp">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.ms-works">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-mswrite">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-dif-document">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="text/spreadsheet">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="text/csv">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-dbase">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.lotus-1-2-3">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="image/cgm">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="image/vnd.dxf">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="image/x-emf">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="image/x-wmf">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/coreldraw">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.visio2013">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.visio">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.ms-visio.drawing">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-mspublisher">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-sony-bbeb">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-gnumeric">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/macwriteii">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-iwork-numbers-sffnumbers">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-web">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-pagemaker">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="text/rtf">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="text/plain">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-fictionbook+xml">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/clarisworks">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="image/x-wpg">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-iwork-pages-sffpages">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.openxmlformats-officedocument.presentationml.slideshow">
            <action default="true" ext="" name="edit" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-iwork-keynote-sffkey">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-abiword">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="image/x-freehand">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/vnd.sun.xml.chart">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/x-t602">
            <action default="true" ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="image/bmp">
            <action ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="image/png">
            <action ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="image/gif">
            <action ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="image/tiff">
            <action ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="image/jpg">
            <action ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="image/jpeg">
            <action ext="" name="view" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>
        <app name="application/pdf">
            <action ext="" name="view_comment" urlsrc="https://example.com/browser/baa6eef/cool.html?"/>
        </app>

        <!-- End of legacy MIME-type actions -->

        <app name="Capabilities">
            <action ext="" name="getinfo" urlsrc="https://example.com/hosting/capabilities"/>
        </app>
    </net-zone>
</wopi-discovery>* Connection #0 to host example.com left intact
Collabora container logs
docker logs --follow  nextcloud-aio-collabora

wsd-00006-00013 2024-04-24 17:52:11.926116 +0200 [ websrv_poll ] ERR  #22: #22 bad request: [GET /cool/https%3A%2F%2Fexample.com%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F20853_oc6vy06fj6w1%3Faccess_token%3DcVqaLyfNocn9wL4Sv4PGAi3KMdrTczE5%26access_token_ttl%3D0/ws?WOPISrc=https%3A%2F%2Fexample.com%2Fin
...]: Invalid or unknown request.| wsd/COOLWSD.cpp:4460c6vy06fj6w1&compat=/ws HTTP/1.1

I’m not sure, but maybe

wsd-00006-00013 2024-04-24 17:52:11.926116 +0200 [ websrv_poll ] ERR  #22: #22 bad request: [GET /cool/https%3A%2F%2Fexample.com%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F20853_oc6vy06fj6w1%3Faccess_token%3DcVqaLyfNocn9wL4Sv4PGAi3KMdrTczE5%26access_token_ttl%3D0/ws?WOPISrc=https%3A%2F%2Fexample.com%2Fin
...]: Invalid or unknown request.| wsd/COOLWSD.cpp:4460c6vy06fj6w1&compat=/ws HTTP/1.1

helps finding the solution.