You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
collabora is setup in a similar way. But internally collabora and nextcloud can communicate over http using the internal ip addresses.
I have set overwriteprotocol to https. Now whenever I create a new document using the "New" Button and try to open it for the first time I get an error:
Failed to read document from storage, please try to load the document again.
Please check the Collabora Online server log for more details and make sure that Nextcloud can be reached from there.
The problem is that collabora gets the wrong URL from nextcloud (https instead of http which is used for the internal communication between collabora and nextcloud):
Then collabora fails to open the document (see logs).
If I disable overwriteprotocol it does work, but this brings other problems (the authproxy redirect having the wrong scheme - I am using the sociallogin app).
All other communication with collabora works fine.
Describe the bug
I run nextcloud behind a proxy (traefik) which does SSL-termination and another proxy for authentification:
browser ---> Traefik (https termination) ---> Auth Proxy ---> Nextcloud
collabora is setup in a similar way. But internally collabora and nextcloud can communicate over http using the internal ip addresses.
I have set
overwriteprotocol
tohttps
. Now whenever I create a new document using the "New" Button and try to open it for the first time I get an error:The problem is that collabora gets the wrong URL from nextcloud (https instead of http which is used for the internal communication between collabora and nextcloud):
Then collabora fails to open the document (see logs).
If I disable
overwriteprotocol
it does work, but this brings other problems (the authproxy redirect having the wrong scheme - I am using the sociallogin app).All other communication with collabora works fine.
This is where the URL is set:
richdocuments/lib/Controller/WopiController.php
Lines 196 to 199 in 7c5bc7a
But we explicitly set the
wopi_callback_url
so I think that should be used instead of the generated URL here.Expected behavior
Create document and being able to open it without error. Correct IP is sent to collabora.
Nextcloud version:
Server details
Operating system:
Web server:
Database:
PHP version:
Nextcloud version:
28.0.3
Version of the richdocuments app
8.3.2
Version of Collabora Online
23.05.8.2.1
Configuration of the richdocuments app
Logs
Collabora log
The text was updated successfully, but these errors were encountered: