GOOD NEWS: Collabora is working!
Thank you for all the tips.
- I tried the aliases and it at least helped me, that the collabora container could find the nextcloud container. - But NC Office still couldnât open any documents. - I share the logs below. You can see that collabora first tries to query the NC container (192.168.xxx.45) via 443. This doesnât work, and then the request is directed to the traefik container (192.168.xxx.33). A connection could therefore be established internally. (I also had the impression that the connection ran much faster. I should keep this in mind for later experiments.)
traefik aliases: collabora logs
root@a4d81ea1fa7f:/# curl -v https://nextcloud.MYDOMAIN.COM/status.php
* Trying 192.168.xxx.45:443...
* connect to 192.168.xxx.45 port 443 failed: Connection refused
* Trying 192.168.xxx.33:443...
* Connected to nextcloud.MYDOMAIN.COM (192.168.xxx.33) port 443 (#0)
* ALPN: 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_128_GCM_SHA256
* ALPN: server accepted h2
* Server certificate:
* subject: CN=MYDOMAIN.COM
* start date: Mar 28 16:13:46 2024 GMT
* expire date: Jun 26 16:13:45 2024 GMT
* subjectAltName: host "nextcloud.MYDOMAIN.COM" matched cert's "*.MYDOMAIN.COM"
* issuer: C=US; O=Let's Encrypt; CN=R3
* SSL certificate verify ok.
* using HTTP/2
* h2h3 [:method: GET]
* h2h3 [:path: /status.php]
* h2h3 [:scheme: https]
* h2h3 [:authority: nextcloud.MYDOMAIN.COM]
* h2h3 [user-agent: curl/7.88.1]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x5d80d9574c80)
> GET /status.php HTTP/2
> Host: nextcloud.MYDOMAIN.COM
> user-agent: curl/7.88.1
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
< HTTP/2 200
< access-control-allow-origin: *
< cache-control: no-store, no-cache, must-revalidate
< content-security-policy: default-src 'self'; script-src 'self' 'nonce-dEY2TEpIT0lVcERjdzh3anVWNmVEM1cvdlFLdm95aWVDeTN6bTBhc3Vwaz06L0F6WWRpVDdZc0x6cjY1VThXbk9WU0tQeUhiNjUzaXJjbHU0M1EvYzdQUT0='; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *; object-src 'none'; base-uri 'self';
< content-type: application/json
< date: Sat, 11 May 2024 07:51:04 GMT
< expires: Thu, 19 Nov 1981 08:52:00 GMT
< permissions-policy: camera=(), microphone=(), geolocation=(), payment=(), usb=(), vr=()
< pragma: no-cache
< referrer-policy: no-referrer
< set-cookie: oc5qyxrku0dl=bb73a58a63622782a04b0a6813efce77; path=/; secure; HttpOnly; SameSite=Lax
< set-cookie: oc_sessionPassphrase=F2J9JKZ%2FWKrUNgG27kedCh2bkozv9NCib2GArzGKCj0IP%2Fu%2FOGqrM7he6J9kIkGzle82Wq5EfEYQYta5mwNQTPXnjI9R%2FWDgyznIQw3GQrNhzBPnkMUI2KuAQKUlneb3; path=/; secure; HttpOnly; SameSite=Lax
< set-cookie: oc5qyxrku0dl=bb73a58a63622782a04b0a6813efce77; path=/; secure; HttpOnly; SameSite=Lax
< set-cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
< set-cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
< set-cookie: oc5qyxrku0dl=bb73a58a63622782a04b0a6813efce77; path=/; secure; HttpOnly; SameSite=Lax
< strict-transport-security: max-age=63072000; includeSubDomains; preload
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< x-permitted-cross-domain-policies: none
< x-powered-by: PHP/8.2.18
< x-robots-tag: noindex, nofollow
< x-xss-protection: 1; mode=block
< content-length: 171
<
* Connection #0 to host nextcloud.MYDOMAIN.COM left intact
{"installed":true,"maintenance":false,"needsDbUpgrade":false,"version":"29.0.0.19","versionstring":"29.0.0","edition":"","productname":"Nextcloud","extendedSupport":false}root@a4d81ea1fa7f:/#
traefik aliases: Nextcloud logs
root@nextcloud:/var/www/html# curl -v https://collabora.MYDOMAIN.COM/hosting/discovery
* Trying 192.168.xxx.33:443...
* Connected to collabora.MYDOMAIN.COM (192.168.xxx.33) port 443 (#0)
* ALPN: 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_128_GCM_SHA256
* ALPN: server accepted h2
* Server certificate:
* subject: CN=MYDOMAIN.COM
* start date: Mar 28 16:13:46 2024 GMT
* expire date: Jun 26 16:13:45 2024 GMT
* subjectAltName: host "collabora.MYDOMAIN.COM" matched cert's "*.MYDOMAIN.COM"
* issuer: C=US; O=Let's Encrypt; CN=R3
* SSL certificate verify ok.
* using HTTP/2
* h2h3 [:method: GET]
* h2h3 [:path: /hosting/discovery]
* h2h3 [:scheme: https]
* h2h3 [:authority: collabora.MYDOMAIN.COM]
* h2h3 [user-agent: curl/7.88.1]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x5c3cee511c80)
> GET /hosting/discovery HTTP/2
> Host: collabora.MYDOMAIN.COM
> user-agent: curl/7.88.1
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
< HTTP/2 200
< content-type: text/xml
< date: Sat, 11 May 2024 08:47:06
< last-modified: Sat, 11 May 2024 08:47:06
< permissions-policy: camera=(), microphone=(), geolocation=(), payment=(), usb=(), vr=()
< referrer-policy: same-origin
< strict-transport-security: max-age=63072000; includeSubDomains; preload
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< x-robots-tag: none,noarchive,nosnippet,notranslate,noimageindex,
< x-xss-protection: 1; mode=block
< content-length: 30007
<
<wopi-discovery>
<net-zone name="external-http">
<!-- Writer documents -->
<app favIconUrl="https://collabora.MYDOMAIN.COM/browser/f12ee1f/images/x-office-document.svg" name="writer">
<action default="true" ext="sxw" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="odt" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="fodt" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- Text template documents -->
<action default="true" ext="stw" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="ott" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- MS Word -->
<action default="true" ext="doc" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="dot" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- OOXML wordprocessing -->
<action default="true" ext="docx" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="docm" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="dotx" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="dotm" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- Others -->
<action default="true" ext="wpd" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="pdb" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="hwp" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="wps" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="wri" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="lrf" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="mw" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="rtf" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="txt" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="fb2" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="cwk" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="pages" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="abw" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="602" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="writer-global">
<!-- Text master documents -->
<action default="true" ext="sxg" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="odm" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- Writer master document templates -->
<action default="true" ext="otm" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="writer-web">
<action default="true" ext="oth" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Calc documents -->
<app favIconUrl="https://collabora.MYDOMAIN.COM/browser/f12ee1f/images/x-office-spreadsheet.svg" name="calc">
<action default="true" ext="sxc" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="ods" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="fods" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- Spreadsheet template documents -->
<action default="true" ext="stc" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="ots" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- MS Excel -->
<action default="true" ext="xls" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="xla" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- OOXML spreadsheet -->
<action default="true" ext="xltx" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="xltm" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="xlsx" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="xlsb" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="xlsm" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- Others -->
<action default="true" ext="dif" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="slk" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="csv" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="dbf" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="wk1" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="gnumeric" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="numbers" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Impress documents -->
<app favIconUrl="https://collabora.MYDOMAIN.COM/browser/f12ee1f/images/x-office-presentation.svg" name="impress">
<action default="true" ext="sxi" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="odp" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="fodp" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- Presentation template documents -->
<action default="true" ext="sti" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="otp" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- MS PowerPoint -->
<action default="true" ext="ppt" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="pot" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- OOXML presentation -->
<action default="true" ext="pptx" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="pptm" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="potx" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="potm" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="ppsx" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- Others -->
<action default="true" ext="cgm" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="key" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Draw documents -->
<app name="draw">
<action default="true" ext="sxd" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="odg" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="fodg" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- Drawing template documents -->
<action default="true" ext="std" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="otg" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<!-- Others -->
<action ext="svg" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="dxf" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="emf" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="wmf" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="cdr" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="vsd" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="vsdx" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="vss" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="pub" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="p65" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="wpg" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action default="true" ext="fh" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action ext="bmp" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action ext="png" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action ext="gif" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action ext="tiff" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action ext="jpg" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action ext="jpeg" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
<action ext="pdf" name="view_comment" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/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://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.ms-powerpoint">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.ms-excel">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Writer documents -->
<app name="application/vnd.sun.xml.writer">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text-flat-xml">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Calc documents -->
<app name="application/vnd.sun.xml.calc">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.spreadsheet">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.spreadsheet-flat-xml">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Impress documents -->
<app name="application/vnd.sun.xml.impress">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.presentation">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.presentation-flat-xml">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Draw documents -->
<app name="application/vnd.sun.xml.draw">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.graphics">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.graphics-flat-xml">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Chart documents -->
<app name="application/vnd.oasis.opendocument.chart">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Text master documents -->
<app name="application/vnd.sun.xml.writer.global">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text-master">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/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://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text-template">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Writer master document templates -->
<app name="application/vnd.oasis.opendocument.text-master-template">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Spreadsheet template documents -->
<app name="application/vnd.sun.xml.calc.template">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.spreadsheet-template">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Presentation template documents -->
<app name="application/vnd.sun.xml.impress.template">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.presentation-template">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Drawing template documents -->
<app name="application/vnd.sun.xml.draw.template">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.graphics-template">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- MS Word -->
<app name="application/msword">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/msword">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- MS Excel -->
<app name="application/vnd.ms-excel">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- MS PowerPoint -->
<app name="application/vnd.ms-powerpoint">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- OOXML wordprocessing -->
<app name="application/vnd.openxmlformats-officedocument.wordprocessingml.document">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.ms-word.document.macroEnabled.12">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.openxmlformats-officedocument.wordprocessingml.template">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.ms-word.template.macroEnabled.12">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- OOXML spreadsheet -->
<app name="application/vnd.openxmlformats-officedocument.spreadsheetml.template">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.ms-excel.template.macroEnabled.12">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.ms-excel.sheet.binary.macroEnabled.12">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.ms-excel.sheet.macroEnabled.12">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- OOXML presentation -->
<app name="application/vnd.openxmlformats-officedocument.presentationml.presentation">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.ms-powerpoint.presentation.macroEnabled.12">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.openxmlformats-officedocument.presentationml.template">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.ms-powerpoint.template.macroEnabled.12">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- Others -->
<app name="application/vnd.wordperfect">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-aportisdoc">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-hwp">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.ms-works">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-mswrite">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-dif-document">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="text/spreadsheet">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="text/csv">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-dbase">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.lotus-1-2-3">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="image/cgm">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="image/vnd.dxf">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="image/x-emf">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="image/x-wmf">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/coreldraw">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.visio2013">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.visio">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.ms-visio.drawing">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-mspublisher">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-sony-bbeb">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-gnumeric">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/macwriteii">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-iwork-numbers-sffnumbers">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.oasis.opendocument.text-web">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-pagemaker">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="text/rtf">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="text/plain">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-fictionbook+xml">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/clarisworks">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="image/x-wpg">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-iwork-pages-sffpages">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.openxmlformats-officedocument.presentationml.slideshow">
<action default="true" ext="" name="edit" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-iwork-keynote-sffkey">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-abiword">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="image/x-freehand">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/vnd.sun.xml.chart">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/x-t602">
<action default="true" ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="image/bmp">
<action ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="image/png">
<action ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="image/gif">
<action ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="image/tiff">
<action ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="image/jpg">
<action ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="image/jpeg">
<action ext="" name="view" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<app name="application/pdf">
<action ext="" name="view_comment" urlsrc="https://collabora.MYDOMAIN.COM/browser/f12ee1f/cool.html?"/>
</app>
<!-- End of legacy MIME-type actions -->
<app name="Capabilities">
<action ext="" name="getinfo" urlsrc="https://collabora.MYDOMAIN.COM/hosting/capabilities"/>
</app>
</net-zone>
* Connection #0 to host collabora.MYDOMAIN.COM left intact
- But Nextcloud Office was only able to work successfully when I carried out the following step: I noticed that the Collabora Container always tries to address the NC Container internally as long as it is in the same network. I have therefore assigned Collabora a different network that also takes traefik into account. I then tested the connection to NC again from the collabora container and received the following successfull logs:
different network: collabora logs
root@eb3456ae0ff3:/# curl -v https://nextcloud.MYDOMAIN.COM/status.php
* Trying 104.XXX.XXX.193:443...
* Connected to nextcloud.MYDOMAIN.COM (104.XXX.XXX.193) port 443 (#0)
* ALPN: 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
* ALPN: server accepted h2
* Server certificate:
* subject: CN=MYDOMAIN.COM
* start date: Mar 18 06:57:13 2024 GMT
* expire date: Jun 16 06:57:12 2024 GMT
* subjectAltName: host "nextcloud.MYDOMAIN.COM" matched cert's "*.MYDOMAIN.COM"
* issuer: C=US; O=Let's Encrypt; CN=E1
* SSL certificate verify ok.
* using HTTP/2
* h2h3 [:method: GET]
* h2h3 [:path: /status.php]
* h2h3 [:scheme: https]
* h2h3 [:authority: nextcloud.MYDOMAIN.COM]
* h2h3 [user-agent: curl/7.88.1]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x56a752a79c80)
> GET /status.php HTTP/2
> Host: nextcloud.MYDOMAIN.COM
> user-agent: curl/7.88.1
> 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
< date: Sat, 11 May 2024 08:57:57 GMT
< content-type: application/json
< content-length: 171
< access-control-allow-origin: *
< cache-control: no-store, no-cache, must-revalidate
< content-security-policy: default-src 'self'; script-src 'self' 'nonce-K01LcHhMMmY0UW5TeHM4Qm1kckl4Z2VkeVpRWU5vcVJGVElLQU9JbkFvUT06dS9YOXQvclhxRm1BaVp0WTErdUdoRy96cnRBcVhzdmlmRWhGTjZCS2Vzaz0='; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *; object-src 'none'; base-uri 'self';
< expires: Thu, 19 Nov 1981 08:52:00 GMT
< permissions-policy: camera=(), microphone=(), geolocation=(), payment=(), usb=(), vr=()
< pragma: no-cache
< referrer-policy: no-referrer
< set-cookie: oc5qyxrku0dl=132ceae77d58031d9576e15d013e78b2; path=/; secure; HttpOnly; SameSite=Lax
< set-cookie: oc_sessionPassphrase=3Y9nK%2B4ILTJDeQ04dWZh0FjwpEC5nHLoSHrVPsql7zywx9KU6DxZ0LiWVt9aXILqNbCTft1FRYAMmdwn%2BKi9osFR%2B0NJ%2BlWa44CuBUhDKbhYRNVQkppKGsiFOhCMUrGt; path=/; secure; HttpOnly; SameSite=Lax
< set-cookie: oc5qyxrku0dl=132ceae77d58031d9576e15d013e78b2; path=/; secure; HttpOnly; SameSite=Lax
< set-cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
< set-cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
< set-cookie: oc5qyxrku0dl=132ceae77d58031d9576e15d013e78b2; path=/; secure; HttpOnly; SameSite=Lax
< strict-transport-security: max-age=63072000; includeSubDomains; preload
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< x-permitted-cross-domain-policies: none
< x-powered-by: PHP/8.2.18
< x-robots-tag: noindex, nofollow
< x-xss-protection: 1; mode=block
< cf-cache-status: DYNAMIC
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=kacRUGsd51BTbGCBS0bsgF4oy2g3BEVNVmSBsgXvURUH1aZL%2BUh0Pvlb7G79EM95d6BtADwuD%2FUHV6vZFvNJsr4Q5V7vqDoVAUaXuDw2LZndxdaj%2FTut35ui%2FFlcwUZc2FFSYSY%3D"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< server: cloudflare
< cf-ray: 8820f6dfead95d49-FRA
< alt-svc: h3=":443"; ma=86400
<
* Connection #0 to host nextcloud.MYDOMAIN.COM left intact
{"installed":true,"maintenance":false,"needsDbUpgrade":false,"version":"29.0.0.19","versionstring":"29.0.0","edition":"","productname":"Nextcloud","extended
-
With these settings, Collabora no longer tries to establish an internal connection to the NC Container and Nextcloud Office works. - For now, Iâm just happy that it works. I have a guess as to what the reasons could be: I have several LXC containers running on my Proxmox system, all of which are connected to one another via an internal Proxmox network. Letâs call it ProxNet. Some LXC containers run Docker with different applications. ProxNet is also stored on the Docker systems as macvlan so that the containers can communicate with each other across the LXC boundaries. (This works well for different scenarios.) In the aforementioned case, traefik, nextcloud and collabora were also all connected via this macvlan. (Unfortunately, I forgot to mention this special feature before. Sorry!) - So I think the connection didnât work like it does with a normal Docker network. - I suspect a NAT problem in the internal Proxmox network. Is anyone familiar with it? Does Docker handle requests differently within a Macvlan network than in its own network? - Unfortunately, I only have very rudimentary knowledge of this.
-
Thank you also for the tip about the cloudflare barriers. I will take these into account in the future. Apparently this also slows down the speed a lot. - And yes, the fixed IP addresses are generally not necessary. But I use it especially in connection with macvlans to keep a good overview.
I would be happy if there is someone else who is familiar with Proxmox networks and macvlans in Docker and can give me some tips. Maybe the aforementioned problem can be solved in the Proxmox or Docker settings without having to use two separate networks. Thank you and best regards - Daniel