Hello everybody,
at first sorry for my english.
I tried to install and use Collabora Online on a Ubuntu Server 16.04 LTS with Apache-Webserver 2.4.18 and all recommended mudules.
My Nextcloud is version 12, Collabora online was installed by using official tutorial on https://nextcloud.com/collaboraonline (“Getting started in 3 steps”). The docker container is started, the collabora Online App is activated. Nextcloud is working fine.
The problem: when I try to open an office-file in Nextcloud for editing I get an internal server error (because the german installation the error-text is german, too):
Interner Serverfehler
Der Server hat einen internen Fehler und konnte Ihre Anfrage nicht vervollständigen.
Bitte wenden Sie sich an den Serveradministrator, wenn dieser Fehler mehrfach auftritt, geben Sie bitte die, unten stehenden, technischen Details in Ihrem Bericht mit an.
Weitere Details können im Server-Protokoll gefunden werden.
Technische Details
Entfernte Adresse: xyz.xy.xyz.xyz
Anfragekennung: ATbYOnnpBPl1EpMJOygI
In the nextcloud-log I can found the request and there is the following additional error:
“cURL error 56: Received HTTP code 403 from proxy after CONNECT”.
I don’t know what to do. I guess that there is a problem with the configured reverse proxy (extra virtual host like in the tutorial). It seems like the proxy has no connection with docker.
This is my virtual host config:
"
<VirtualHost *:443>
ServerName myoffice.server.de:443
SSL configuration, you may want to take the easy route instead and use Lets Encrypt!
SSLEngine on
SSLCertificateFile /etc/ssl/certs/cert-xxxxxxxxxxxxxxxxxxxxxxxxx.pem
SSLCertificateChainFile /etc/ssl/private/chain.txt
SSLCertificateKeyFile /etc/ssl/private/myoffice.server.de_key.pem
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
SSLHonorCipherOrder on
Encoded slashes need to be allowed
AllowEncodedSlashes NoDecode
Container uses a unique non-signed certificate
SSLProxyEngine On
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off
keep the host
ProxyPreserveHost On
static html, js, images, etc. served from loolwsd
loleaflet is the client part of LibreOffice Online
ProxyPass /loleaflet https://127.0.0.1:9980/loleaflet retry=0
ProxyPassReverse /loleaflet https://127.0.0.1:9980/loleaflet
WOPI discovery URL
ProxyPass /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0
ProxyPassReverse /hosting/discovery https://127.0.0.1:9980/hosting/discovery
Main websocket
ProxyPassMatch “/lool/(.*)/ws$” wss://127.0.0.1:9980/lool/$1/ws nocanon
Admin Console websocket
ProxyPass /lool/adminws wss://127.0.0.1:9980/lool/adminws
Download as, Fullscreen presentation and Image upload operations
ProxyPass /lool https://127.0.0.1:9980/lool
ProxyPassReverse /lool https://127.0.0.1:9980/lool
"
If more info is needed I will provide it soon.
Thanks in advance for all help.
Greetings
Volker