Collabora error setup


I setup collabora on my nextcloud 14.
My collabora server is reachable also from outside as I get a login promt if I call the adminpanel of collabora.
As soon as I enable it in the settings (add the url with my port (in my case https://myserver:444)) the nextcloud will not respond anymore and all is white.
In the logs I cannot find anything senseful only the error attached.
Can you help me out?

is valid as well.

As a tutorial I used this one:

Collabora Nextcloud APP cannot handle reverse apache proxies

I run the collabora on my server https://mydomain:444 and my nextcloud on https://mydomain:443
Both I can reach from outside but when I configure it in nextcloud all become a blank white screen and the log above.


How did you set up port 444? If it is set up for loolwsd port instead of 9980, then it will not work, because ports below 1024 need special privileges.


Oh, I have a better idea. Can you please check your browser’s console log? Isn’t it CSP violation error? See also


HI :wink:
I set this up with a apache reverse-proxy. internally (in docker) it runs on 9980.
best regards


If I navigate directly to https://mydomain:444 I get no error only that i cannot access the page, cause its forbidden. SSL is valid…


If I activate it by typing inside the url at the config I get no error either but all does not respond anymore.Even after 20 mins it does not stop to load.


Also it does not respond if I open the url https://mydomain/nextcloud in another tab or browser


After the new Version (Nextcloud 14 [3.1.1]) of the Collabora App today the nextcloud still respond but very slowly.
If I open a document it shows still whitescreen.
In the browsers console I get the error attached.

best regards


I found out that the error has to be at the nextcloud app.
The collabora is accessable:

Also the suburls:
Does someone know how to resolve this issue?


I updated today to 15.02. Still the same issue. Can it be that collabora does not work if nextcloud runs on and collabora on the same domain but with another port (e.g.:


Todays (7th februar 2019) new version did not fix the problem


update 27.2.2019: Problem still persists with latest plugin and collabora container


I found the solution. If it is located on the same Server and its running on the same domain but for example with different ports only you need to add your external DNS to the /etc/hosts of your host.
You also need to add it to the /etc/hosts/ of the docker container.
Therefore follow these steps:

Get docker containers ID:
docker ps
docker exec -it IdOfContainer bash
echo domainofyourcloudandoffice >>/etc/hosts

This setup allows you to run it on the same domain without any subdomain and only changing the tcp port for collabora on for example 444


not a good idea. better start the image with

docker run -v /etc/hosts:/etc/hosts:ro ...

that insures that your entry in /etc/hosts is persistent to image updates.

p.s.: i didn’t need that in my setup. collabora is runing on


btw: would you mind to share your apache2 reverse proxy setting?
i would like to test it in my playbook.


thx, that is nice
yes its with a apache reverse proxy


Here is the apache reverse proxy file. I changed it already to your usecase:

    <VirtualHost *:8443>
ServerName yourdomain:8443

#ServerName yourdomain
# SSL configuration, you may want to take the easy route instead and use Lets #Encrypt!

# Encoded slashes need to be allowed
AllowEncodedSlashes NoDecode

# Container uses a unique non-signed certificate
SSLProxyEngine On
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off

SSLCertificateFile /etc/letsencrypt/live/yourdomain/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/yourdomain/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLProtocol             all -SSLv2 -SSLv3
SSLHonorCipherOrder     on

ProxyPreserveHost On

# static html, js, images, etc. served from loolwsd
# loleaflet is the client part of LibreOffice Online
ProxyPass           /loleaflet retry=0
ProxyPassReverse    /loleaflet

# WOPI discovery URL
ProxyPass           /hosting/discovery retry=0
ProxyPassReverse    /hosting/discovery

# Main websocket
ProxyPassMatch "/lool/(.*)/ws$" wss://$1/ws nocanon

# Admin Console websocket
ProxyPass   /lool/adminws wss://

# Download as, Fullscreen presentation and Image upload operations
ProxyPass           /lool
ProxyPassReverse    /lool

# Endpoint with information about availability of various features
ProxyPass           /hosting/capabilities retry=0
ProxyPassReverse    /hosting/capabilities

#custom : additional needed
#ProxyPass           /
#ProxyPassReverse    /



I suggest that you discard the buggy 3.2.1 Collabora app and go back to the nightly 3.0.0


I use only the stable canal.
Current Version works fine for me: 3.2.3