Help debugging collabora + nextcloud on the same machine on Ubuntu 22.04

I am on ubuntu 22.04, running nextcloud 24.0.2. and collabora with versions the following:

Version Information

COOLWSD

22.05.4.1 (git hash: 5f985be)

LOKit

Collabora Office 22.05.3.1 (git hash: 10ffe3b)

I have an apache reverse proxy with a wildcard cert in front of both apps on this box, so nextcloud dot domain dot com and collabora dot domain dot com. I’ve used collabora’s apache reverse proxy documentation exactly, I believe it works, I get the green check in the nextcloud config and if I load the admin page at https :// collabora.domain.com/browser/dist/admin/admin.html I get ssl and everything looks happy. When I try to load a document though, it very quickly (too fast to see) looks like it tries to load 3 times, then I get a blank white page in collabora. In the admin page for collabora, I can see the open document show up for a flash 3 times. Falling back to the logs, I get the following:

wsd-378947-392880 2022-07-14 11:05:48.097933 -0700 [ docbroker_00c ] ERR  #30: Read failed, have 0 buffered bytes (ECONNRESET: Connection reset by peer)| net/Socket.hpp:1131
wsd-378947-392880 2022-07-14 11:05:48.097992 -0700 [ docbroker_00c ] ERR  #30: Socket write returned -1 (EPIPE: Broken pipe)| net/Socket.hpp:1430
wsd-378947-392880 2022-07-14 11:05:48.098128 -0700 [ docbroker_00c ] ERR  ToClient-03c: No DocBroker found, or DocBroker marked to be destroyed. Terminating session ToClient-03c| wsd/ClientSession.cpp:326
wsd-378947-392880 2022-07-14 11:05:48.098144 -0700 [ docbroker_00c ] ERR  ToClient-03c: No DocBroker found, or DocBroker marked to be destroyed. Terminating session ToClient-03c| wsd/ClientSession.cpp:326
wsd-378947-392880 2022-07-14 11:05:48.098155 -0700 [ docbroker_00c ] ERR  ToClient-03c: No DocBroker found, or DocBroker marked to be destroyed. Terminating session ToClient-03c| wsd/ClientSession.cpp:326
wsd-378947-392880 2022-07-14 11:05:48.098173 -0700 [ docbroker_00c ] ERR  ToClient-03c: No DocBroker found, or DocBroker marked to be destroyed. Terminating session ToClient-03c| wsd/ClientSession.cpp:326

I’ve searched, but I’m not finding anything to help troubleshoot this issue. I have debug logging as well, but it’s a lot, and I’m not authorized to upload attachments, so it’s here: https://pastebin.com/raw/GaDzgXeG

@rash419 could you please take a look?