Collabora and Nextcloud 14.0.3 - not able to open documents


#1

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!!!


#2

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)


#4

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.