i successfully managed to create a WOPI endpoint and can view and edit documents. However i wonder if there is a setting to configure the session expiration. Sometimes i get an expiration message after ca. 60 seconds and sometimes immediately after opening a document.
Second. I have set the autoassembly interval and step to 0m in local.json. I found that in an article to force ONLYOFFICE to do a post to the PutFile endpoint on saving. Otherwise iam always getting a version mismatch message. Is there any known better solution than just forcing to post every change back? I saw a question on github issues with exactly that problem, but the issue was closed without leaving an answer there.
The configuration file has multiple options and for most of them i couldnt find documentation. Is there a document available which describes the various documentation options?
Iam using ONLYOFFICE 7.1 docker container as WOP Client.
Second. I have set the autoassembly interval and step to 0m in local.json. I found that in an article to force ONLYOFFICE to do a post to the PutFile endpoint on saving. Otherwise iam always getting a version mismatch message. Is there any known better solution than just forcing to post every change back? I saw a question on github issues with exactly that problem, but the issue was closed without leaving an answer there.
However i wonder if there is a setting to configure the session expiration. Sometimes i get an expiration message after ca. 60 seconds and sometimes immediately after opening a document.
Please provide us with details of your desired scenario. default.json file contains sessionidle and sessionabsolute parameters which regulate editing session expiration.
“sessionidle” parameter is responsible for the disconnection user from the editor if they are inactive for some time. It can be set in /etc/onlyoffice/documentserver/default.json inside the container with the Document Server this way:
"expire": {
"sessionidle": "0",
Value can be “1h” for 1 hour, “3d” for three days, “20m” for 20 minutes and so on - any time period that meets your requirements. Please execute supervisorctl restart all after you make any changes to the default.json to apply them.
“sessionabsolute” parameter. This parameter is responsible for forcing the closing of the file after a certain amount of time.
I am also facing unexpected “The document editing session has expired. Please reload the page.” like @StefanW, mostly after minutes, especially on inactivity, e.g. if the tab is inactive.
We are using the onlyoffice/documentserver Docker image, and customized the /etc/onlyoffice/documentserver/production-linux.json with the default [1] services.CoAuthoring.expire block.
Are such timeouts to be expected, even before the specified 1h in certain scenarios? If that is the case, is the behavior documented somewhere?