azz
May 30, 2024, 12:09pm
9
Im pleased to help.
No i’m not using richdocumentscode app on Nextcloud, indeed i’m using an installed Collabora instance on a separate VM. The installation of this instance was done from packages: URIs: https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-deb
Here are the logs attached to github ticket:
opened 05:03PM - 28 May 24 UTC
bug
unconfirmed
### Describe the Bug
I have Nextcloud 28.0.1.1 installed on a vm and configured… to work with collabora.
I have collabora 24.04.3.1 installed on a separate vm. Both of Nextcloud and collabora are behind an nginx reverse proxy.
After creating a new file on Nextcloud, adding content to it, saving it and reopening it immediately after I lose its content.
### Steps to Reproduce
1- I create file.odt on Nextcloud.
2- I write something on it.
3- I save it.
4- I close it.
5- I open it again immediately after closing it.
### Expected Behavior
The file should open with the content I wrote before closing.
### Actual Behavior
there are many random resulted behaviours:
1- The screen displays an error "Socket connection establishment failed or socket connection closed unexpectedly" as shown in the screenshot. After waiting a little bit the file is rendered either empty or with the content I wrote.
or
2- The screen doesn't display the error and the file is rendered either empty or with the content I wrote.
### Screenshots
![Screenshot 2024-05-28 at 19 40 53](https://github.com/CollaboraOnline/online/assets/12200714/36227a40-8926-4111-92dd-245654d45531)
### Versions
- **Collabora version: 24.04.3.1**
- **OS of VMs: debian12**
- **Nextcloud version: 28.0.1.1**
### Additional Context
In Collabora here are the logs I see while saving the file:
> wsd-10789-11216 2024-05-28 18:39:11.771791 +0200 [ docbroker_00e ] WRN Upload is already in progress.| wsd/wopi/WopiStorage.cpp:594
> wsd-10789-11216 2024-05-28 18:39:11.771981 +0200 [ docbroker_00e ] WRN Failed to upload [https%3A%2F%2Fnextcloud_url%3A443%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2Fxxxxx] asynchronously. Activity::None| wsd/DocumentBroker.cpp:1941
Here are the logs I see when the error "Socket connection establishment failed or socket connection closed unexpectedly" appears in the screen:
> wsd-10789-10861 2024-05-28 18:39:38.898677 +0200 [ websrv_poll ] ERR #39: Failed to create DocBroker [https%3A%2F%2Fnextcloud_url%3A443%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2Fxxxxx]: error: cmd=load kind=docunloading| wsd/RequestVettingStation.cpp:333
> wsd-10789-10861 2024-05-28 18:39:39.679691 +0200 [ websrv_poll ] WRN DocBroker [https%3A%2F%2Fnextcloud_url%3A443%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2Fxxxxx] is unloading. Rejecting client request to load session [045]| wsd/ClientRequestDispatcher.cpp:139
It appears that because of the unloading state of the file, this one can't be rendered to the client and the request keeps trying to get it until it's opened and rendered.
Apart from these logs I have these errors when I open the Nextcloud office interface. It seems that they are related to the absence of some icons:
> wsd-10789-10861 2024-05-28 18:39:20.944231 +0200 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/594b605/images/lc_zoom.svg].| wsd/FileServer.cpp:747
> wsd-10789-10861 2024-05-28 18:39:21.341236 +0200 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/594b605/images/lc_invertbackground.svg].| wsd/FileServer.cpp:747
Thanks!
1 Like