Can't open files=The server has disconnected | admin page=server has been shut down/logs=client - server version mismatch

Hey, I’m trying to set up a collabora server to use with next cloud and I can’t seem to get it working. Running through Docker(-compose) on a raspberry pi 4 behind an apache 2.4 reverse proxy.
.

Whenever I try to open a file, it just hangs, with a message that flashes for half a second on the bottom of the page that reads “The server has been disconnected”. Nothing interesting in the logs.

When I try to go to the admin page I get an error that says “Server has shut down; please reload the page” but obviously nothing happens when I reload the page. In the logs I have the following for trying to access admin page:
[ websrv_poll ] WRN client - server version mismatch, disabling browser cache. Expected: fdc7ddf7c| wsd/FileServer.cpp:288

Any ideas? I really appreciate any help and/or a direction into the right places to look.

Welcome @Art.

You can follow the guide on Proxy settings — SDK https://sdk.collaboraonline.com/ documentation

That should help when setting up Apache reverse proxy.

You can ask for more details if that does not resolve the issue.

Getting a 404 on that link.

@crawfordlong, welcome.

Please try this guide on the link: Proxy settings — SDK https://sdk.collaboraonline.com/ documentation

I gave up due to frustration after originally posting this but I’m back for round 2 and just spent about a day and a half debugging this, made some progress but still not there.
Can access discovery and admin page using subdomain of collabora/CODE on https because ssl terminates at apache reverse proxy but then the only way I can get nextcloud to connect to CODE is by having the containers on the same network and using the CODE containers ip:port – localhost, external ip, or reverse proxy subdomain dont work.

chrome console says:
Blocked autofocusing on a <textarea> element in a cross-origin subframe.

Logs says:

wsd-00001-00341 2022-03-08 13:57:46.229749 +0000 [ docbroker_011 ] WRN Waking up dead poll thread [HttpSynReqPoll], started: false, finished: false| ./net/Socket.hpp:722
wsd-00001-00341 2022-03-08 13:57:46.229977 +0000 [ docbroker_011 ] ERR #29: Socket read returned -1 (EPIPE: Broken pipe)| ./net/Socket.hpp:1126
wsd-00001-00341 2022-03-08 13:57:46.230077 +0000 [ docbroker_011 ] ERR #29: Socket write returned -1 (EPIPE: Broken pipe)| ./net/Socket.hpp:1389
wsd-00001-00341 2022-03-08 13:57:46.230115 +0000 [ docbroker_011 ] ERR #29: Socket write returned -1 (EPIPE: Broken pipe)| ./net/Socket.hpp:1389
wsd-00001-00341 2022-03-08 13:57:46.230286 +0000 [ docbroker_011 ] ERR WOPI::CheckFileInfo failed for URI [https://cloud.example.com/index.php/apps/richdocuments/wopi/files/574_ocxaty832b8n?access_token=ONVs6StKdYFBMofhIkcdR7czlmTy22XS&access_token_ttl=0&permission=edit]: 0 . Headers: Body: | wsd/Storage.cpp:692
wsd-00001-00341 2022-03-08 13:57:46.230491 +0000 [ docbroker_011 ] ERR loading document exception: WOPI::CheckFileInfo failed: | wsd/DocumentBroker.cpp:2091
wsd-00001-00341 2022-03-08 13:57:46.230575 +0000 [ docbroker_011 ] ERR Failed to add session to [/index.php/apps/richdocuments/wopi/files/574_ocxaty832b8n] with URI [https://cloud.example.com/index.php/apps/richdocuments/wopi/files/574_ocxaty832b8n?access_token=ONVs6StKdYFBMofhIkcdR7czlmTy22XS&access_token_ttl=0&permission=edit]: WOPI::CheckFileInfo failed: | wsd/DocumentBroker.cpp:2053
wsd-00001-00341 2022-03-08 13:57:46.230640 +0000 [ docbroker_011 ] ERR Storage error while starting session on /index.php/apps/richdocuments/wopi/files/574_ocxaty832b8n for socket #21. Terminating connection. Error: WOPI::CheckFileInfo failed: | wsd/COOLWSD.cpp:3716
wsd-00001-00341 2022-03-08 13:57:46.231093 +0000 [ docbroker_011 ] WRN Ignoring attempted read from 21| ./net/Socket.hpp:1100
wsd-00001-00341 2022-03-08 13:57:46.231158 +0000 [ docbroker_011 ] ERR Invalid or unknown session [071] to remove.| wsd/DocumentBroker.cpp:2136
wsd-00001-00036 2022-03-08 13:57:48.231508 +0000 [ prisoner_poll ] WRN Prisoner connection disconnected but without valid socket.| wsd/COOLWSD.cpp:2384

I also have this issue,
when I using the :/browser/dist/admin/admin.html no issue on that:
No errors, everything working fine
when I using Nginx proxy and follow the official nginx config:
Server has been shut down; please reload the page.
The main issue I was thinking is webserver configuration event I make the WebSocket configuration correctly.
it tooks me a very long time to figure it out until I found a forum about the default Vhost configuration has a line
proxy_hide_header Upgrade;
This line will disable all the websocket in the Vhost, Please comment it out
you may find this line in your domain Vhost configuration or at Nginx main config files /etc/nginx/nginx.conf
in my example I’m using hestiacp web panel(Nginx Only), I look over the files at
if have proxy_hide_header Upgrade; then i should comment it out by #

/usr/local/hestia/data/templates/web/nginx/php-fpm/custom_proxy_collabora.stpl
/home/<user>/conf/web/collabora.mydomain.com/nginx.ssl.conf
/etc/nginx/conf.d/domains/collabora.mydomain.com.ssl.conf

referral links or forum