Collobora and Nextcloud 12: WOPI::CheckFileInfo failed with 404 Not Found

Hi,

i become the following error messages with the latest collabora version in docker und nextcloud 12.0.2 on the same ubuntu 16.04 server:

wsd-00027-00053 09:06:54.648859 [ docbroker_005 ] ERR WOPI::CheckFileInfo failed with 404 Not Found| wsd/Storage.cpp:467
wsd-00027-00053 09:06:54.649037 [ docbroker_005 ] ERR Failed to add session to [cloud.example.com:443/apps/richdocuments/wopi/files/121582_oce3ec2d3d6d] with URI [https://cloud.example.com/apps/richdocuments/wopi/files/121582_oce3ec2d3d6d?access_token=eUubknBBvEqcWcH3kxEsTd2c3fLMTh42&access_token_ttl=0&permission=edit]: WOPI::CheckFileInfo failed| wsd/DocumentBroker.cpp:801
wsd-00027-00053 09:06:54.649189 [ docbroker_005 ] WRN Attempted ping on non-upgraded websocket!| ./net/WebSocketHandler.hpp:285
wsd-00027-00053 09:06:54.650027 [ docbroker_005 ] WRN Child session [000b] not found to forward message: load url=https://cloud.example.com/apps/richdocuments/wopi/files/121582_oce3ec2d3d6d?access_token=eUubknBBvEqcWcH3kxEsTd2c3fLMTh42&access_token_ttl=0&permission=edit readonly=0 lang=de-DE| wsd/DocumentBroker.cpp:1278
wsd-00027-00053 09:06:54.850829 [ docbroker_005 ] ERR Socket #15 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-00027-00053 09:06:54.850932 [ docbroker_005 ] ERR Socket #15 SSL BIO error: error:140D00CF:SSL routines:SSL_write:protocol is shutdown (errno: Success)| ./net/SslSocket.hpp:273
wsd-00027-00053 09:06:54.851037 [ docbroker_005 ] WRN ToClient-000b: Exception while closing socket for docKey [cloud.example.com:443/apps/richdocuments/wopi/files/121582_oce3ec2d3d6d]: error:140D00CF:SSL routines:SSL_write:protocol is shutdown| wsd/ClientSession.cpp:816
wsd-00027-00053 09:06:55.650605 [ docbroker_005 ] ERR #19: Wrote outgoing data -1 bytes. (errno: Broken pipe)| ./net/Socket.hpp:909
wsd-00027-00028 09:07:12.025928 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_005], started: true, finished: true| ./net/Socket.hpp:507
wsd-00027-00028 09:07:12.026010 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_005], started: true, finished: true| ./net/Socket.hpp:507
wsd-00027-00028 09:07:12.026041 [ prisoner_poll ] WRN Prisoner connection disconnected but without valid socket.| wsd/LOOLWSD.cpp:1363
wsd-00027-00028 09:07:12.026086 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_005], started: false, finished: true| ./net/Socket.hpp:507
wsd-00027-00028 09:07:12.026105 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_005], started: false, finished: true| ./net/Socket.hpp:507

I changed our domain name to example.com.

This is the error message in nextcloud:

Thanks for help
Philipp

Does nobody have an idea?

I have the exact same problem and can not get it running. Did you already find out what goes wrong?

same problem here.

current debian 9, NC 12.0.3, my docker storage driver is zfs
switching to devicemapper as suggested in several threads brings only new errors

>     loolforkit version details: 2.1.4 - b4b777d
>     office version details: { "ProductName": "Collabora Office", "ProductVersion": "5.3", "ProductExtension": ".10.28", "BuildId": "d66704ff6eb7b7b2a62ea279e3599dc235c67810" }
>     wsd-00025-00026 19:50:33.026680 [ prisoner_poll ] WRN  ForKit not responsive for 15984 ms forking 1 children. Resetting.| wsd/LOOLWSD.cpp:339
>     wsd-00025-00033 19:50:55.556159 [ websrv_poll ] WRN  WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:365
>     wsd-00025-00038 19:50:56.389517 [ docbroker_001 ] ERR  WOPI::CheckFileInfo failed with 404 Not Found| wsd/Storage.cpp:523
>     wsd-00025-00038 19:50:56.391802 [ docbroker_001 ] ERR  Failed to add session to [my.nextclound.sampledomain:443/owncloud/index.php/apps/richdocuments/wopi/files/7651_ocbgn4li31wg] with URI [https://my.nextclound.sampledomain/owncloud/index.php/apps/richdocuments/wopi/files/7651_ocbgn4li31wg?access_token=gG2YI2pRIAm1RaUSP7C46nBoZT8jJJ07&access_token_ttl=0&permission=edit]: WOPI::CheckFileInfo failed| wsd/DocumentBroker.cpp:847
>     wsd-00025-00038 19:50:56.393417 [ docbroker_001 ] WRN  Attempted ping on non-upgraded websocket!| ./net/WebSocketHandler.hpp:285
>     wsd-00025-00038 19:50:56.393962 [ docbroker_001 ] WRN  Child session [0003] not found to forward message: load url=https://my.nextclound.sampledomain/owncloud/index.php/apps/richdocuments/wopi/files/7651_ocbgn4li31wg?access_token=gG2YI2pRIAm1RaUSP7C46nBoZT8jJJ07&access_token_ttl=0&permission=edit readonly=0 lang=de| wsd/DocumentBroker.cpp:1328
>     wsd-00025-00038 19:50:56.421064 [ docbroker_001 ] ERR  Socket #21 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
>     wsd-00025-00038 19:50:56.423904 [ docbroker_001 ] ERR  Socket #21 SSL BIO error: error:140D00CF:SSL routines:SSL_write:protocol is shutdown (errno: Success)| ./net/SslSocket.hpp:273
>     wsd-00025-00038 19:50:56.424987 [ docbroker_001 ] WRN  ToClient-0003: Exception while closing socket for docKey [my.nextclound.sampledomain:443/owncloud/index.php/apps/richdocuments/wopi/files/7651_ocbgn4li31wg]: error:140D00CF:SSL routines:SSL_write:protocol is shutdown| wsd/ClientSession.cpp:874
>     wsd-00025-00026 19:51:13.069624 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_001], started: true, finished: true| ./net/Socket.hpp:507
>     wsd-00025-00026 19:51:13.069771 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_001], started: true, finished: true| ./net/Socket.hpp:507
>     wsd-00025-00026 19:51:13.069842 [ prisoner_poll ] WRN  Prisoner connection disconnected but without valid socket.| wsd/LOOLWSD.cpp:1477
>     wsd-00025-00026 19:51:13.069965 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_001], started: false, finished: true| ./net/Socket.hpp:507
>     wsd-00025-00026 19:51:13.070012 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_001], started: false, finished: true| ./net/Socket.hpp:507

Any suggestions welcome

regards

Paul.

For example, do you need to adjust the address specification of this?

#\ WOPI discovery URL
location ^~ /hosting/discovery {
proxy_pass https://localhost:9980;
proxy_set_header Host $http_host;
}

Or I also care about the following.

ERR Socket #21 SSL BIO error

this proxy rewrite rule points to the collabora container running on localhost, why should I modify it?

this SSL error looks strange to me, indeed.
But I’m completely unsure about which communications I should expect, allow in firewalls …

I tried to tcpdump but did not see direct comunications betwenn NC and collabora server.?
All I saw run through the client, which looks odd in terms of performance to me.

Besides that:
As you noted, there is witten at https://nextcloud.com/collaboraonline/:

Issue: Collabora Online doesn’t work with Encryption.
Yes, this is currently unsupported.

but the documentation of the setup (above this statement) only mentions the setup and use of https connections. ?

Hi !
When I edit the /etc/hosts file inside the docker container, it works fine.