Try the fastest and simplest way to install ONLYOFFICE

Problem with callback handler not always called

Questions/problems on Docker

Problem with callback handler not always called

Postby oguerin » Thu May 03, 2018 8:29 am

Hello,

I made a sample project with docker, running a document server, a simple document storage (the sample given here https://api.onlyoffice.com/editors/callback), and a web page. The project is available here : https://github.com/oguerin/test-onlyoffice

I have some problems when editing a document:
  • The document server does not call the document storage 10 s after forcing it to save. I have to close the browser to see the callback called with status=2
  • If I re-open the document after having closed the browser, I have a message telling me that the version has changed. I then get the previous version, in read-only mode. I cannot make any modification.
  • The document server often crashes (once every minute)

Thanks!
Olivier
oguerin
 
Posts: 7
Joined: Wed May 02, 2018 2:35 pm

Re: Problem with callback handler not always called

Postby Maxim » Mon May 07, 2018 1:11 pm

Hello Olivier!
1. You should see the callback called with status=6 for "forcesave".
2. If you see the message telling you that the version has changed it means that the document has the same (old) key but it should get a new generated one.
3. What do you mean by "crashes"
Maxim
 
Posts: 1694
Joined: Tue Oct 11, 2016 2:34 pm


Return to Docker Version

Who is online

Users browsing this forum: No registered users and 2 guests

cron