Skip to content
This repository has been archived by the owner on Nov 23, 2020. It is now read-only.

Invalid or expired access token #89

Open
JLDevRoger opened this issue Apr 7, 2020 · 3 comments
Open

Invalid or expired access token #89

JLDevRoger opened this issue Apr 7, 2020 · 3 comments

Comments

@JLDevRoger
Copy link

Description

Hi! I can load and view all document types (doc, calc and presentation) but it's impossible to save them... I've integrated and tested the WOPI-like host with its endpoints with success.
But when the Iframe (hosted on my own server) emits the save event via the ws collabora-code Docker produces an error...

I'm stuck on this problem since 2 days... I need some help, have I missed something ?

Error message

Capture du 2020-04-07 23-21-18

Le document ne peut pas être sauvegardé en raison d'un jeton d'accès expiré ou incorrect.

My logs

I also show you the associated Docker log message :

[ docbroker_002 ] ERR Cannot save docKey [/wopi/files/<FILE_ID>] to storage URI [https://<MY_DOMAIN>/wopi/files/<FILE_ID>?access_token=<ACCESS_TOKEN>&access_token_ttl=0]. Invalid or expired access token. Notifying client.| wsd/DocumentBroker.cpp:1077

My environnement

  • Docker collabora-code version : collabora/code:latest
@YoucefSklab
Copy link

I am facing the same problem!

@JLDevRoger
Copy link
Author

I abandoned this solution after several months without finding an answer and I used the plugin collabora on Nextcloud ...

It's not ideal because I couldn't integrate it into my software, but it still meets my client's needs.

Hoping someone find the solution.

@mr-gosh
Copy link

mr-gosh commented Oct 26, 2020

too sad - we have the same problem here - in fact the administrator can work normally with documents but normal users cannot do anything cause of the mentioned error.
image
The Error "The document cannot be saved due to an expired or invalid access token." is triggered only during the first creation of an file and after opening the Collabora Online Editor. After That I can open the files without getting an Error Message but i am not able to save them at all.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants