Collabora fails with an internal error

My details:

  • Nextcloud version 13.0.1.1
  • Operating system and version NethServer release 7.3.1611 (Final)
  • Apache or nginx version 2.4.6-45
  • PHP version 7.1

The issue you are facing:

Collabora Office fails showing an internal error in the browser

Is this the first time you’ve seen this error? (Y/N): No

Steps to replicate it:

  1. Follows the tutorial 2.4.6-45
  2. Browse files
  3. Open libreoffice document

Docker logs:

wsd-00025-00459 18:17:24.416076 [ docbroker_06b ] ERR  Cannot get file info from WOPI storage uri [https://mail.testing.example.com/nextcloud/index.php/apps/richdocuments/wopi/files/943_ocfdnbx3ti99?access_token=q1zjUJRjgzOgBdwFOXtSSudcJpVz7MqF&access_token_ttl=0&permission=edit]. Error: Connection refused| wsd/Storage.cpp:529
wsd-00025-00459 18:17:24.416241 [ docbroker_06b ] ERR  Failed to add session to [/nextcloud/index.php/apps/richdocuments/wopi/files/943_ocfdnbx3ti99] with URI [https://mail.testing.example.com/nextcloud/index.php/apps/richdocuments/wopi/files/943_ocfdnbx3ti99?access_token=q1zjUJRjgzOgBdwFOXtSSudcJpVz7MqF&access_token_ttl=0&permission=edit]: Connection refused| wsd/DocumentBroker.cpp:1000
wsd-00025-00459 18:17:24.416273 [ docbroker_06b ] ERR  Error while loading : Connection refused| wsd/LOOLWSD.cpp:2333
wsd-00025-00459 18:17:24.416413 [ docbroker_06b ] WRN  Child session [0255] not found to forward message: load url=https://mail.testing.example.com/nextcloud/index.php/apps/richdocuments/wopi/files/943_ocfdnbx3ti99?access_token=q1zjUJRjgzOgBdwFOXtSSudcJpVz7MqF&access_token_ttl=0&permission=edit readonly=0 lang=es-419| wsd/DocumentBroker.cpp:1482
wsd-00025-00459 18:17:25.417463 [ docbroker_06b ] ERR  Invalid or unknown session [0255] to remove.| wsd/DocumentBroker.cpp:1067
wsd-00025-00459 18:17:25.417507 [ docbroker_06b ] ERR  No socket associated with WebSocketHandler 0x0x7f15b8013390| ./net/WebSocketHandler.hpp:100
wsd-00025-00026 18:17:25.418537 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_06b], started: true, finished: true| ./net/Socket.hpp:512
wsd-00025-00026 18:17:25.418563 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_06b], started: true, finished: true| ./net/Socket.hpp:512
wsd-00025-00026 18:17:25.418579 [ prisoner_poll ] WRN  Prisoner connection disconnected but without valid socket.| wsd/LOOLWSD.cpp:1541
wsd-00025-00026 18:17:25.418612 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_06b], started: false, finished: true| ./net/Socket.hpp:512
wsd-00025-00026 18:17:25.418628 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_06b], started: false, finished: true| ./net/Socket.hpp:512{"BaseFileName":"New Document.odt","Size":7938,"Version":"0","UserId":"admin","OwnerId":"admin","UserFriendlyName":"admin","UserExtraInfo":{"avatar":"https:\/\/mail.testing.example.com\/nextcloud\/index.php\/avatar\/admin\/32"},"UserCanWrite":true,"UserCanNotWriteRelative":false,"PostMessageOrigin":"https:\/\/mail.testing.example.com\/nextcloud\/","LastModifiedTime":"2018-04-09T22:33:03.000000Z"}

Apache VirtualHosts:

VirtualHost configuration:
*:443                  is a NameVirtualHost
         default server neomuteriver.infoestructura.local (/etc/httpd/conf.d/ssl.conf:57)
         port 443 namevhost neomuteriver.infoestructura.local (/etc/httpd/conf.d/ssl.conf:57)
         port 443 namevhost office.testing.example.com (/etc/httpd/conf.d/zz

Please could you help me?

This seems to be the error. Also the apache virtualhost seems pretty much incomplete. You need a lot more. See https://www.kerstner.at/2017/09/setting-up-collabora-code-with-nextcloud-using-apache-reverse-proxy-on-debian-8-jessie/

cheers

I’ve checked the url: https://office.example.com/hosting/discovery

I get the following:

*   Trying 192.168.50.3...
* TCP_NODELAY set
* Connected to office.example.com (192.168.50.3) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: PROFILE=SYSTEM
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: CN=office.example.com
*  start date: Apr 10 12:08:19 2018 GMT
*  expire date: Jul  9 12:08:19 2018 GMT
*  subjectAltName: host "office.example.com" matched cert's "office.example.com"
*  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
*  SSL certificate verify ok.
> GET /hosting/discovery HTTP/1.1
> Host: office.example.com
> User-Agent: curl/7.55.1
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Mon, 23 Apr 2018 17:35:38 GMT
< Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16
< Last-Modified: Mon, 23 Apr 2018 17:35:38 GMT
< User-Agent: LOOLWSD WOPI Agent 3.1.0
< Content-Length: 19561
< Content-Type: text/xml
< X-Content-Type-Options: nosniff
< 
<wopi-discovery>
    <net-zone name="external-http">
        <app name="application/vnd.lotus-wordpro">
            <action ext="lwp" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/svg+xml">
            <action ext="svg" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.ms-powerpoint">
            <action ext="pot" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.ms-excel">
            <action ext="xla" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Writer documents -->
        <app name="application/vnd.sun.xml.writer">
            <action ext="sxw" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text">
            <action ext="odt" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-flat-xml">
            <action ext="fodt" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Calc documents -->
        <app name="application/vnd.sun.xml.calc">
            <action ext="sxc" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.spreadsheet">
            <action ext="ods" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.spreadsheet-flat-xml">
            <action ext="fods" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Impress documents -->
        <app name="application/vnd.sun.xml.impress">
            <action ext="sxi" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.presentation">
            <action ext="odp" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.presentation-flat-xml">
            <action ext="fodp" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Draw documents -->
        <app name="application/vnd.sun.xml.draw">
            <action ext="sxd" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.graphics">
            <action ext="odg" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.graphics-flat-xml">
            <action ext="fodg" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Chart documents -->
        <app name="application/vnd.oasis.opendocument.chart">
            <action ext="odc" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Text master documents -->
        <app name="application/vnd.sun.xml.writer.global">
            <action ext="sxg" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-master">
            <action ext="odm" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.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" ext="sxm"/>
        </app>
        <app name="application/vnd.oasis.opendocument.formula">
            <action name="edit" ext="odf"/>
        </app>
        -->
        <!-- Text template documents -->
        <app name="application/vnd.sun.xml.writer.template">
            <action ext="stw" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-template">
            <action ext="ott" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Writer master document templates -->
        <app name="application/vnd.oasis.opendocument.text-master-template">
            <action ext="otm" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Spreadsheet template documents -->
        <app name="application/vnd.sun.xml.calc.template">
            <action ext="stc" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.spreadsheet-template">
            <action ext="ots" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Presentation template documents -->
        <app name="application/vnd.sun.xml.impress.template">
            <action ext="sti" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.presentation-template">
            <action ext="otp" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Drawing template documents -->
        <app name="application/vnd.sun.xml.draw.template">
            <action ext="std" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.graphics-template">
            <action ext="otg" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Base documents -->
        <app name="application/vnd.oasis.opendocument.database">
            <action ext="odb" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Extensions -->
        <app name="application/vnd.openofficeorg.extension">
            <action ext="oxt" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- MS Word -->
        <app name="application/msword">
            <action ext="doc" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/msword">
            <action ext="dot" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- MS Excel -->
        <app name="application/vnd.ms-excel">
            <action ext="xls" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- MS PowerPoint -->
        <app name="application/vnd.ms-powerpoint">
            <action ext="ppt" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- OOXML wordprocessing -->
        <app name="application/vnd.openxmlformats-officedocument.wordprocessingml.document">
            <action ext="docx" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.ms-word.document.macroEnabled.12">
            <action ext="docm" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.openxmlformats-officedocument.wordprocessingml.template">
            <action ext="dotx" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.ms-word.template.macroEnabled.12">
            <action ext="dotm" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- OOXML spreadsheet -->
        <app name="application/vnd.openxmlformats-officedocument.spreadsheetml.template">
            <action ext="xltx" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.ms-excel.template.macroEnabled.12">
            <action ext="xltm" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
            <action ext="xlsx" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.ms-excel.sheet.binary.macroEnabled.12">
            <action ext="xlsb" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.ms-excel.sheet.macroEnabled.12">
            <action ext="xlsm" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- OOXML presentation -->
        <app name="application/vnd.openxmlformats-officedocument.presentationml.presentation">
            <action ext="pptx" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.ms-powerpoint.presentation.macroEnabled.12">
            <action ext="pptm" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.openxmlformats-officedocument.presentationml.template">
            <action ext="potx" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.ms-powerpoint.template.macroEnabled.12">
            <action ext="potm" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>

        <!-- Others -->
        <app name="application/vnd.wordperfect">
            <action ext="wpd" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-aportisdoc">
            <action ext="pdb" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-hwp">
            <action ext="hwp" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.ms-works">
            <action ext="wps" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-mswrite">
            <action ext="wri" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-dif-document">
            <action ext="dif" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="text/spreadsheet">
            <action ext="slk" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="text/csv">
            <action ext="csv" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-dbase">
            <action ext="dbf" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.lotus-1-2-3">
            <action ext="wk1" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/cgm">
            <action ext="cgm" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/vnd.dxf">
            <action ext="dxf" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/x-emf">
            <action ext="emf" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/x-wmf">
            <action ext="wmf" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/coreldraw">
            <action ext="cdr" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.visio2013">
            <action ext="vsd" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.visio">
            <action ext="vss" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-mspublisher">
            <action ext="pub" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-sony-bbeb">
            <action ext="lrf" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-gnumeric">
            <action ext="gnumeric" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/macwriteii">
            <action ext="mw" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-iwork-numbers-sffnumbers">
            <action ext="numbers" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-web">
            <action ext="oth" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-pagemaker">
            <action ext="p65" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/rtf">
            <action ext="rtf" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="text/rtf">
            <action ext="rtf" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="text/plain">
            <action ext="txt" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-fictionbook+xml">
            <action ext="fb2" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/clarisworks">
            <action ext="cwk" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.corel-draw">
            <action ext="cdr" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/x-wpg">
            <action ext="wpg" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/prs.plucker">
            <action ext="pdb" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-iwork-pages-sffpages">
            <action ext="pages" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.openxmlformats-officedocument.presentationml.slideshow">
            <action ext="ppsx" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-iwork-keynote-sffkey">
            <action ext="key" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-abiword">
            <action ext="abw" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/x-freehand">
            <action ext="fh" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.palm">
            <action ext="pdb" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.sun.xml.chart">
            <action ext="sxs" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.sun.xml.writer.web">
            <action ext="stw" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/x-t602">
            <action ext="602" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/vnd.sun.xml.report.chart">
            <action ext="odc" name="edit" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/bmp">
            <action ext="bmp" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/png">
            <action ext="png" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/gif">
            <action ext="gif" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/tiff">
            <action ext="tiff" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/jpg">
            <action ext="jpg" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="image/jpeg">
            <action ext="jpeg" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
        <app name="application/pdf">
            <action ext="pdf" name="view" urlsrc="https://office.example.com/loleaflet/a329ce4/loleaflet.html?"/>
        </app>
    </net-zone>
* Connection #0 to host office.example.com left intact

The Virtual Host is as in https://www.kerstner.at/2017/09/setting-up-collabora-code-with-nextcloud-using-apache-reverse-proxy-on-debian-8-jessie/ only difference was that UseCanonical is off there.

Still the same error… any idea?

Thanks in advance!

Now is working!

It helped me this post:

Thanks @Stuart_Naylor!