Failure after CODE update to deb Package

After updating coolwsd and code-brand to the deb Package I can’t connect from Nextcloud anymore. I get this error message on the Webbrowser trying to open the Document:

“Failed to establish socket connection or socket connection closed unexpectedly. The reverse Proxy might be misconfigured, …”

The syslog shows this messages:

I didn’t make any changes to the apache2 proxy config and none to coolwsd.xml

requests to /hostin/discovery and /hosting/capabilities work for the coolwsd URL and the Proxy Host URL

Any Hints?
Please let me know if you need more / other Data


Hey @gustl12,

Welcome to the forum + thanks for the question. :slight_smile:

Which version of Nextcloud are you on? And do you happen to remember which version of CODE you were on before?

Did you happen to see this page in the Collabora Installation Guide:

or, for Nextcloud specifically, there is also this fantastic help Wiki on their forums:

I think I see “reverse proxy” or “Apache” mentioned a few times in there. Perhaps one of their topics had a similar error/solution too.

I also converted your image to text + pasted your log below:

Feb 06 14:21:02 coolwsd[18319]: kit-18319-17032 2024-02-06 14:21:02.273940 +0100 [ kitbroker003 ] SIG Fatal signal received: SIGSEGV code: 1 for address: 0x21
Feb 06 14:21:02 coolwsd[18319]: Recent activity:
Feb 06 14:21:02 coolwsd[18319]:         load view: 00a doc: file:///tmp/user/docs/GTDoEUFS02j41u8g/Welcome%20to%20Nextcloud%20Hub.docx
Feb 06 14:21:02 coolwsd[18319]: Backtrace 18319 - kit startup of 96e80a8:
Feb 06 14:21:02 coolwsd[17024]: wsd-17024-18348 2024-02-06 14:21:02.288339 +0100 [ docbroker003 ] WRN  #27: DocBroker [>
Feb 06 14:21:02 coolwsd[17032]: frk-17032-17032 2024-02-06 14:21:02.726368 +0100 [ forkit ] WRN Successfully sent 'segfaultcount' message segfaultcount 1
Feb 06 14:21:02 coolwsd[17032]: | kit/ForKit.cpp:346
Feb 06 14:21:04 coolwsd[17024]: wsd-17024-18348 2024-02-06 14:21:04.288867 +0100 [ docbroker_003 ] WRN  Crash detected, will quarantine last version of [>
Feb 06 16:21:06 coolwsd[17024]: wsd-17024-18348 2024-02-06 14:21:04.288936 +0100 [ docbroker_003 ] WRN  Quarantining the original document file: Welcome to Nextcloud Hub.docx| wsd/DocumentBroker.cpp:672

(This makes it easier to debug stuff + helps with searchability in the future too, just in case anyone else runs across the same issue.)

You’re welcome. :slight_smile:

Hi Mike,

thanks for your Reply.
I’ve updated from CODE
Nextcloud Version is 25.0.13 with Nextcloud Office 7.1.9

I double checked all Proxy Settings (we’re using apache2) and compared to the Guides you mentioned. That looks ok and, as I mentioned, it worked until the update.


I removed coolwsd and code-brand packages completely and installed them again. Now it works perfectly :wink:
to Note: the coolwsd.xml config file was preserved and did not change.


1 Like

Fantastic to hear.

As always:

Except in this case: “Did you try uninstalling and reinstalling again?” :stuck_out_tongue:

Gremlins! Sometimes these things just need a good whack/refresh. :slight_smile: