Collabora and Nextcloud 14.0.3 - not able to open documents

Hi there, I have a fresh install of Nextcloud and on the same server I have installed Collabora with docker. I have followed the steps as shown on the collabora page https://www.collaboraoffice.com/code/#faq. I’m running a Ubuntu 18.04 server with nginx, all the configurations are correct and everything else is working fine but when it comes to open an existing or new document all I get is a loading icon, an error and then I have the tool bar and a grey center.
Also I’m using letsencrypt certificates.

I have check the logs and this is what I get:

wsd-00030-02174 2018-10-12 20:55:09.917369 [ docbroker_018 ] ERR Cannot get file info from WOPI storage uri [https://nextcloud.mydomain.com/apps/richdocuments/wopi/files/732_ocfyq2m2r0as?access_token=uB3WQ5rSl3Wgfd88kkyhyIZCENrpJhG9&access_token_ttl=0&permission=edit]. Error: Timeout: connect timed out: 200.87.148.40:443| wsd/Storage.cpp:531
wsd-00030-02174 2018-10-12 20:55:09.917472 [ docbroker_018 ] ERR Failed to add session to [/apps/richdocuments/wopi/files/732_ocfyq2m2r0as] with URI [https://nextcloud.mydomain.com/apps/richdocuments/wopi/files/732_ocfyq2m2r0as?access_token=uB3WQ5rSl3Wgfd88kkyhyIZCENrpJhG9&access_token_ttl=0&permission=edit]: Timeout| wsd/DocumentBroker.cpp:1002
wsd-00030-02174 2018-10-12 20:55:09.917505 [ docbroker_018 ] ERR Error while loading : Timeout| wsd/LOOLWSD.cpp:2314
wsd-00030-02174 2018-10-12 20:55:09.917631 [ docbroker_018 ] WRN Child session [005d] not found to forward message: load url=https://nextcloud.mydomain.com/apps/richdocuments/wopi/files/732_ocfyq2m2r0as?access_token=uB3WQ5rSl3Wgfd88kkyhyIZCENrpJhG9&access_token_ttl=0&permission=edit readonly=0 lang=es-BO| wsd/DocumentBroker.cpp:1494
wsd-00030-02174 2018-10-12 20:55:09.917897 [ docbroker_018 ] ERR Socket #15 SSL BIO error: error:140D00CF:SSL routines:SSL_write:protocol is shutdown (errno: Success)| ./net/SslSocket.hpp:281
wsd-00030-02174 2018-10-12 20:55:09.917962 [ docbroker_018 ] ERR Failed to send message o50 lokitversion { “ProductName”: “Collabora Office”, “ProductVersion”: “5.3”, “ProductExtension”: “.10.53”, “BuildId”: “cf2ac11617bce9c49c92d8153ef12b55e5b903f3” } to ToClient-005d: error:140D00CF:SSL routines:SSL_write:protocol is shutdown| wsd/ClientSession.cpp:552
wsd-00030-02174 2018-10-12 20:55:09.917990 [ docbroker_018 ] ERR Socket #15 SSL BIO error: error:140D00CF:SSL routines:SSL_write:protocol is shutdown (errno: Success)| ./net/SslSocket.hpp:281
wsd-00030-02174 2018-10-12 20:55:09.918022 [ docbroker_018 ] ERR Error while handling poll for socket #15 in docbroker_018: error:140D00CF:SSL routines:SSL_write:protocol is shutdown| ./net/Socket.hpp:517
wsd-00030-02174 2018-10-12 20:55:09.918067 [ docbroker_018 ] ERR Invalid or unknown session [005d] to remove.| wsd/DocumentBroker.cpp:1069
wsd-00030-02174 2018-10-12 20:55:09.918088 [ docbroker_018 ] ERR No socket associated with WebSocketHandler 0x0x7f099c017d30| ./net/WebSocketHandler.hpp:107
kit-02171-00032 2018-10-12 20:55:10.918786 [ loolkit ] WRN Waking up dead poll thread [kit], started: false, finished: false| net/Socket.hpp:550
kit-02171-00032 2018-10-12 20:55:10.918868 [ loolkit ] WRN Waking up dead poll thread [kit], started: false, finished: false| net/Socket.hpp:550
kit-02171-00032 2018-10-12 20:55:10.918904 [ loolkit ] WRN Kit connection lost without exit arriving from wsd| kit/Kit.cpp:2040
wsd-00030-00031 2018-10-12 20:55:11.372570 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_018], started: true, finished: true| ./net/Socket.hpp:550
wsd-00030-00031 2018-10-12 20:55:11.372627 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_018], started: true, finished: true| ./net/Socket.hpp:550
wsd-00030-00031 2018-10-12 20:55:11.372656 [ prisoner_poll ] WRN Prisoner connection disconnected but without valid socket.| wsd/LOOLWSD.cpp:1573
wsd-00030-00031 2018-10-12 20:55:11.372746 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_018], started: false, finished: true| ./net/Socket.hpp:550
wsd-00030-00031 2018-10-12 20:55:11.372771 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_018], started: false, finished: true| ./net/Socket.hpp:550

I have made a dnslookup on the docker container and is correct, it is pointing to nextcloud.mydomain.com

Does anybody knows how can I solve this? any help would be appreciated!!!

I think i have the same Problem:

wsd-00028-00038 2018-10-12 23:14:44.567308 [ websrv_poll ] WRN  WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:611
wsd-00028-00085 2018-10-12 23:15:20.063288 [ docbroker_00a ] ERR  Socket #32 SSL error: SYSCALL (5). (errno: Connection reset by peer)| ./net/SslSocket.hpp:236
kit-00081-00089 2018-10-12 23:15:20.063598 [ lokit_00a ] WRN  Skipping unload on incomplete view.| kit/ChildSession.cpp:72
kit-00081-00089 2018-10-12 23:15:20.063663 [ lokit_00a ] ERR  No socket associated with WebSocketHandler 0x0x1140d5a0| ./net/WebSocketHandler.hpp:107
wsd-00028-00085 2018-10-12 23:15:20.066500 [ docbroker_00a ] ERR  Socket #31 SSL error: SYSCALL (5). (errno: Connection reset by peer)| ./net/SslSocket.hpp:236
kit-00081-00089 2018-10-12 23:15:20.066895 [ lokit_00a ] WRN  Skipping unload on incomplete view.| kit/ChildSession.cpp:72
kit-00081-00089 2018-10-12 23:15:20.066940 [ lokit_00a ] ERR  No socket associated with WebSocketHandler 0x0x1140cf00| ./net/WebSocketHandler.hpp:107
wsd-00028-00080 2018-10-12 23:15:20.067922 [ docbroker_009 ] ERR  Socket #16 SSL error: SYSCALL (5). (errno: Connection reset by peer)| ./net/SslSocket.hpp:236
kit-00076-00084 2018-10-12 23:15:20.068155 [ lokit_009 ] WRN  Skipping unload on incomplete view.| kit/ChildSession.cpp:72
kit-00076-00084 2018-10-12 23:15:20.068225 [ lokit_009 ] ERR  No socket associated with WebSocketHandler 0x0x1140cb20| ./net/WebSocketHandler.hpp:107
wsd-00028-00080 2018-10-12 23:15:20.068371 [ docbroker_009 ] ERR  Socket #24 SSL error: SYSCALL (5). (errno: Connection reset by peer)| ./net/SslSocket.hpp:236
kit-00076-00084 2018-10-12 23:15:20.068506 [ lokit_009 ] WRN  Skipping unload on incomplete view.| kit/ChildSession.cpp:72
kit-00076-00084 2018-10-12 23:15:20.068535 [ lokit_009 ] ERR  No socket associated with WebSocketHandler 0x0x1140cf00| ./net/WebSocketHandler.hpp:107
wsd-00028-00080 2018-10-12 23:15:20.070197 [ docbroker_009 ] ERR  Socket #23 SSL error: SYSCALL (5). (errno: Connection reset by peer)| ./net/SslSocket.hpp:236
kit-00076-00084 2018-10-12 23:15:20.070409 [ lokit_009 ] WRN  Skipping unload on incomplete view.| kit/ChildSession.cpp:72
kit-00076-00084 2018-10-12 23:15:20.070445 [ lokit_009 ] ERR  No socket associated with WebSocketHandler 0x0x1140d5a0| ./net/WebSocketHandler.hpp:107
wsd-00028-00085 2018-10-12 23:15:20.070827 [ docbroker_00a ] ERR  Socket #27 SSL error: SYSCALL (5). (errno: Connection reset by peer)| ./net/SslSocket.hpp:236
kit-00081-00089 2018-10-12 23:15:20.071016 [ lokit_00a ] WRN  Skipping unload on incomplete view.| kit/ChildSession.cpp:72
kit-00081-00089 2018-10-12 23:15:20.071056 [ lokit_00a ] ERR  No socket associated with WebSocketHandler 0x0x1140cb20| ./net/WebSocketHandler.hpp:107
1mmwsd-00028-00029 2018-10-12 23:15:21.071601 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_009], started: true, finished: true| ./net/Socket.hpp:551kit-00076-00030 2018-10-12 23:15:21.071611 [ loolkit ] FTL  Document [/index.php/apps/richdocuments/wopi/files/27_och09co59y3s] has no more views, exiting bluntly.| kit/Kit.cpp:8340m

wsd-00028-00029 2018-10-12 23:15:21.071690 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_009], started: true, finished: true| ./net/Socket.hpp:551
wsd-00028-00029 2018-10-12 23:15:21.071726 [ prisoner_poll ] WRN  Prisoner connection disconnected but without valid socket.| wsd/LOOLWSD.cpp:1654
wsd-00028-00029 2018-10-12 23:15:21.071787 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_009], started: false, finished: true| ./net/Socket.hpp:551
wsd-00028-00029 2018-10-12 23:15:21.071808 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_009], started: false, finished: true| ./net/Socket.hpp:551
kit-00081-00030 2018-10-12 23:15:21.072041 [ loolkit ] FTL  Document [/index.php/apps/richdocuments/wopi/files/503_och09co59y3s] has no more views, exiting bluntly.| kit/Kit.cpp:834
wsd-00028-00029 2018-10-12 23:15:21.072128 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_00a], started: true, finished: true| ./net/Socket.hpp:551
wsd-00028-00029 2018-10-12 23:15:21.072162 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_00a], started: true, finished: true| ./net/Socket.hpp:551
wsd-00028-00029 2018-10-12 23:15:21.072182 [ prisoner_poll ] WRN  Prisoner connection disconnected but without valid socket.| wsd/LOOLWSD.cpp:1654
wsd-00028-00029 2018-10-12 23:15:21.072219 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_00a], started: false, finished: true| ./net/Socket.hpp:551
wsd-00028-00029 2018-10-12 23:15:21.072239 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_00a], started: false, finished: true| ./net/Socket.hpp:551

On Nextcloud networkprotocoll:
https://office.example.org/lool/https://cloud.example.org/index.php/apps/richdocuments/wopi/files/503_och09co59y3s?access_token=PuKYrdNCoungJ3br7GkAxQQgLF1xMLgh&access_token_ttl=0&permission=edit/ws?WOPISrc=https://cloud.example.org/index.php/apps/richdocuments/wopi/files/503_och09co59y3s&compat=/ws

Used Version are:
NextCloud: 14.0.3
App Collabora Online: 2.0.13
Docker Image: collabora/code latest b9b7f6b66f42


It would be really nice, if somebody could call working versions (with Nextcloud 14.0.3) of the App and Docker Image. (so i got it working already)

I have got exactly the same problem. Docker with collabora on two different machines, both debian stretch. DNS correct. IPv4 and IPv6 checks ok. Letsencrypt certificates ok. No errors with Nginx and Docker. Ping OK. Reachability sites ok on IPv4 and IPv6.
The only errors I can see are with curl: GuzzleHttp\Exception\RequestException: cURL error 51: SSL: …

Even the configuration that worked about mid 2018 does not work anymore.

Something strange is happening in the processing of requests to the collabora/code FQDN with SSL enabled.

Agreed. I cannot find a solution anywhere and no one at Collabora or Nextcloud is being responsive, either. I actually considered paying for a commercial support ticket, but since they do not seem to have helped anyone at all, I am not bothering. Ridiculous.

In my case the problems are caused by defaults of NGINX.
The default redirect seems wrong.
Switching from the NGINX websrever to APACHE solved all problems.
The .htaccess is changed but this file is not used by NGINX. Therefore the redirects do not work as expected.

If you can, try to switch.

And I forgot:
IPv6 is my preferred protocol by the provider. The mechanism to forward IPv4 does not work when sites are on different IPv6 addresses. In the router DNS rebinding needs to be set. Also the reverse DNS needs to be set on all machines between the router and the actual webserver.
If you set IPv6 in your datacenter, it will go straight forward to the server. Not with IPv4 that ends on the router and perhaps on the single forwarder machine that you gave for IPv4.

Switching web servers is not an option for me so that is not going to work. Keep in mind that officially speaking, NGINX is a supported and documented choice of web server for Collabora and Nextcloud. I myself use OpenLiteSpeed and am locked into it for WordPress acceleration and my webpanel, CyberPanel. Interestingly, I have no issues with OpenLiteSpeed when proxying to other, complex web software like a Discourse docker image that has live chat plug-in and WordPress login support. I am almost convinced now that something is not coded properly in either Nextcloud or Collabora and no one has a straight answer for it, either.

Here is a snippet of the errors I am getting. I can get my hosting discovery page fine, but loading or editing documents does not:

Feb 09 01:44:27 techandtiny.com loolwsd[3555]: preload: merged unordf ucpchelp1 msforms vbaobj pcr vbaswobj sw animcore hwp flash chartcore solver sc wpftcalc xof ucpcmis1 wpftdraw sd svgfilter evtatt ucp
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: pdffilter PresentationMinimizer rptxml:failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: protocolhandler ucpdav1 wpftwriter msword lwpft writerfilter t602filter xmlfa basctl binaryurp uuresolver scd chartcontroller ldapbe2 dba sdbt dbu:failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: dbmm:failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:27 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: deploymentgui migrationoo2 migrationoo3 xsltfilter sdd embobj emboleobj log expwrap odfflatxml textfd storagefd xmlfd frm fwl fwm io textconversiondlgs smd:f
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: mozbootstrap oox scfilt OGLTrans:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: slideshow proxyfac cairocanvas vclcanvas canvasfactory mtfrenderer simplecanvas oglcanvas rptui:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: rpt:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: dlgprov basprov stringresource dbaxml:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: mork odbc sdbc2 calc dbase flat mysqlc writer xsec_xmlsec reflection bootstrap introspection invocation invocadapt namingservice stocservices cmdmail syssh c
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: scn scriptframe dbpool2 xmlsecurity analysis date pricing fps_office:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: i18nsearch wizards.agenda.CallWizard wizards.fax.CallWizard wizards.letter.CallWizard emfio vbaevents PresenterScreen:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: pdfimport abp:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: dbp:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: mysql ucpext hyphen spell lnth mailmerge for ctl passwordcontainer svgio updatefeed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: Preloading dictionaries: Whitelisted languages: de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: en_US en_GB
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: Preloading thesauri: en_US en_GB
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: Preload icons
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: Preload languages
Feb 09 01:44:29 techandtiny.com loolwsd[3555]: Preload fonts
Feb 09 01:44:31 techandtiny.com loolwsd[3555]: frk-03558-03558 2019-02-09 06:44:31.458007 [ forkit ] TRC Finished lok_preinit(/opt/collaboraoffice6.0/program", “file:///user”) in 4402 ms.| kit/Kit.cpp:26
Feb 09 01:44:31 techandtiny.com loolwsd[3555]: frk-03558-03558 2019-02-09 06:44:31.458260 [ forkit ] ERR Error: forkit has more than a single thread after pre-init| kit/ForKit.cpp:540
Feb 09 01:44:31 techandtiny.com loolwsd[3555]: frk-03558-03558 2019-02-09 06:44:31.458282 [ forkit ] INF Preinit stage OK.| kit/ForKit.cpp:542
Feb 09 01:44:31 techandtiny.com loolwsd[3555]: frk-03558-03558 2019-02-09 06:44:31.458387 [ forkit ] DBG Forking a loolkit process with jailId: bYRpwHPFMY2WQipR.| kit/ForKit.cpp:253
Feb 09 01:44:31 techandtiny.com loolwsd[3555]: frk-03558-03558 2019-02-09 06:44:31.464110 [ forkit ] INF Forked kit [3566].| kit/ForKit.cpp:294
Feb 09 01:44:31 techandtiny.com loolwsd[3555]: frk-03558-03558 2019-02-09 06:44:31.467550 [ forkit ] INF Forkit initialization complete: setting log-level to [warning] as configured.| kit/ForKit.cpp:559
Feb 09 01:44:31 techandtiny.com loolwsd[3555]: frk-03558-03558 2019-02-09 06:44:31.467658 [ loolkit ] INF Thread 3558 (7f7b6151e8c0) is now called [loolkit].| common/Util.cpp:513
Feb 09 01:44:31 techandtiny.com loolwsd[3555]: kit-03566-03558 2019-02-09 06:44:31.468393 [ loolkit ] INF Initializing kit. Local time: Sat 2019-02-09 01:44:31-0500. Log level is [8].| common/Log.cpp:191
Feb 09 01:44:31 techandtiny.com loolwsd[3555]: kit-03566-03558 2019-02-09 06:44:31.468506 [ loolkit ] INF Setting log-level to [trace] and delaying setting to configured [warning] until after Kit initial
Feb 09 01:44:31 techandtiny.com loolwsd[3555]: kit-03566-03558 2019-02-09 06:44:31.468555 [ loolkit ] INF Filename anonymization is disabled.| kit/Kit.cpp:2281
Feb 09 01:44:31 techandtiny.com loolwsd[3555]: kit-03566-03558 2019-02-09 06:44:31.468568 [ loolkit ] INF Username anonymization is disabled.| kit/Kit.cpp:2283
Feb 09 01:44:31 techandtiny.com loolwsd[3555]: kit-03566-03558 2019-02-09 06:44:31.468576 [ loolkit ] DBG Process started.| kit/Kit.cpp:2290
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: slideshow proxyfac cairocanvas vclcanvas canvasfactory mtfrenderer simplecanvas oglcanvas rptui:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: rpt:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: dlgprov basprov stringresource dbaxml:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: mork odbc sdbc2 calc dbase flat mysqlc writer xsec_xmlsec reflection bootstrap introspection invocation invocadapt namingservice stocservices cmdmail syssh c
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: scn scriptframe dbpool2 xmlsecurity analysis date pricing fps_office:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: i18nsearch wizards.agenda.CallWizard wizards.fax.CallWizard wizards.letter.CallWizard emfio vbaevents PresenterScreen:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: pdfimport abp:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: dbp:failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed
Feb 09 01:44:28 techandtiny.com loolwsd[3555]: :failed

Eureka! Here is the solution for OpenLiteSpeed when proxying to a Collabora process: don’t create two separate web socket proxy paths as recommended on Collabora’s reverse proxy guides for Apache and nginx. Instead, create a single web socket proxy with the URI as “/” and the IP and port as 127.0.0.1:9980. Works like a charm.

Can you share your final config please?

Just have the Reverse proxy for the Collabora passed through with a URI of “/”. That’s literally it. Ignore all the other recommendations. That said, I switched to OnlyOffice which is far superior to Collabora. I hope they add OnlyOffice support in the NextCloud app. Collabora is antiquated–for example, it heaps on all the document processing onto the server. OnlyOffice actually does it client-side which is far more elegant and efficient. Plus, OnlyOffice has a much richer, better laid out interface than Collabora ever did.