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