I am trying to integrate Office Online Server with Alfresco. I have deployed Office Online and AD server in my VM. 'View' and 'Edit' action both work well in my system.
But there is some problem when I try to use the collaboration edit. Office server should send an "UNLOCK" action with "X-WOPI-LOCK" headers to my server when I'm closing the browser tab, but I never receive it. The only "UNLOCK" action I can receive is someone else trying to fetch "X-WOPI-LOCK" with an incorrect LockId, as following official explain.
WOPI defines a GetLock operation. However, Office for the web does not use it in all cases, even if the host indicates support for the operation using the SupportsGetLock property in CheckFileInfo. Instead, Office for the web will sometimes execute lock-related operations on files with missing or known incorrect lock IDs and expects the host to provide the current lock ID in its WOPI response. Typically the Unlock and RefreshLock operations are used for this purpose, but other lock-related operations may be used.
And documentation also says there is an "X-WOPI-Editors" header that will be sent with the "PutFile" action, but I can't receive either.
My environment:
According to this this question on MSDN this is a new behaviour in the Chromium engine as of Oct 2019. There is a call to Office Online Server to announce that the editing session is over but it gets stopped by the browser.
Give it a try in IE to check whether it behaves correctly for you. My experience of this is that going in&out of the online editor a couple times will cause me to be forced into readonly mode by my own online sessions when trying to use "Edit in Word" (desktop). Co-authoring would work OK in the online editor just so long as you don't mind being told there are multiple other people currently editing the document and they're all you.