I am using a custom integration with Paperless. I wrote the WOPI API endpoints for Collabora.
Once the document is loaded in collabora, I can keep on editing and saving the document; The contents are sent to Paperless with a POST request and updated in the DB. But once I reload the document after editing it goes into Read-Only mode
I have tested the API endpoints it calls /wopi/files/<id>/
. For the response, I always pass the Field UserCanWrite
as true
.
wsd-00001-00033 2023-04-07 07:39:49.342277 +0000 [ websrv_poll ] WRN DocBroker with docKey [https://paperless.tacten.link:443/wopi/files/49/] is unloading. Rejecting client request to load.| wsd/COOLWSD.cpp:3193
wsd-00001-00033 2023-04-07 07:39:49.342471 +0000 [ websrv_poll ] ERR Error while handling Client WS Request: Failed to create DocBroker with docKey [https://paperless.tacten.link:443/wopi/files/49/].| wsd/COOLWSD.cpp:4805
wsd-00001-00033 2023-04-07 07:39:49.342572 +0000 [ websrv_poll ] WRN #22 is shutting down but 64 bytes couldn't be flushed and still remain in the output buffer.| net/WebSocketHandler.hpp:839
wsd-00001-00033 2023-04-07 07:39:49.342778 +0000 [ websrv_poll ] ERR #22: Attempted to remove: 763 which is > size: 0 clamped to 0| net/Socket.hpp:1239
wsd-00001-00033 2023-04-07 07:39:49.342961 +0000 [ websrv_poll ] ERR #22: Error while handling poll at 0 in websrv_poll: #22 (write): unknown. BIO error: 337690831, rc: -1: error:1420C0CF:SSL routines:ssl_write_internal:protocol is shutdown:
This is the log of the Collabora on reloading a saved document. Any document that is not edited it is also passing the Same API
Using : Collabora CODE docker;latest
: Browser Chrome 105.0.5195.102
Could you help me here ?
Thanks in advance