Collabora online error - ERR WOPI::CheckFileInfo failed with 302 Found| wsd/Storage.cpp:588

Hi everyone,

I am trying to add collabora online to my privation social network.
So I installed collabora online by following this tutorial. (https://www.collaboraoffice.com/code/docker/).
Because I am in development environment, I disabled ssl from both app (my web app and collabora online).

I implemented getFile and CheckFileInfo.

But when I try to access file, I got the following error.

wsd-00006-00078 2020-08-08 00:27:39.726353 [ docbroker_010 ] ERR  WOPI::CheckFileInfo failed with 302 Found| wsd/Storage.cpp:588
wsd-00006-00078 2020-08-08 00:27:39.726474 [ docbroker_010 ] ERR  loading document exception: WOPI::CheckFileInfo failed| wsd/DocumentBroker.cpp:1380
wsd-00006-00078 2020-08-08 00:27:39.726507 [ docbroker_010 ] ERR  Failed to add session to [/wopi/files/57] with URI [http://pessek-elggfinal338.com/wopi/files/57?access_token=hfpfrrtrtrtf1225zz%3Freuse_cookies%3Djwt%3DeyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJsb29sIiwic3ViIjoiYWRtaW4iLCJhdWQiOiJhZG1pbiIsIm5tZSI6ImFkbWluIiwiZXhwIjoiMTU5NjgwNDI0NSJ9.ztD3RISaH9EdgDJFcmFPBHJYk71hSgaoz24TzhPgrey6kisuem8xw1H3prfvc0t1zcKT2H1_CZvr49H3BGq-wEjy4ENPXX3goMrQhzpQ4jQhruyxG_d9Gbl2KWsRkH-3cpBU_weTJsTf8iucgHo5jgkxVDAB1YO4X9rdNVwydR6Ux6M7_Ig3kWALcvLnDhNlka3qz-4QSxmKFf4Xw_q4UO5SRR8zA8yXfXDLJVJwES_oKLUTwV_pyExAgnY6-1UF7K-pt3jraGYDZE8G_AXQ0qdQGvG2yfojDNVBMn6rz_pMYvByB4hoiBZ1kQ7EyDR0FJj3FbPQtIdIW-ObkphRhQ]: WOPI::CheckFileInfo failed| wsd/DocumentBroker.cpp:1342
wsd-00006-00078 2020-08-08 00:27:39.726565 [ docbroker_010 ] ERR  No DocBroker found, or DocBroker marked to be destroyed. Terminating session ToClient-02c| wsd/ClientSession.cpp:330
wsd-00006-00078 2020-08-08 00:27:39.726604 [ docbroker_010 ] ERR  No DocBroker found, or DocBroker marked to be destroyed. Terminating session ToClient-02c| wsd/ClientSession.cpp:330
wsd-00006-00078 2020-08-08 00:27:39.898742 [ docbroker_010 ] ERR  Invalid or unknown session [02c] to remove.| wsd/DocumentBroker.cpp:1418

But when I click on the that appears on the above error file, CheckFileInfo returns the following json.

{"BaseFileName":"Lettre de motivation.docx","OwnerId":"pessek","UserId":"49","UserFriendlyName":"Hermand Pessek","UserCanWrite":true,"UserCanNotWriteRelative":true,"UserCanRename":false,"LastModifiedTime":"2020-08-07T23:15:22+00:00","Size":6278}

So I dont know what’s is going wrong.

Could someone help me ?

regards,

I don’t quite understand what you are developing and how it relates to an ownCloud installation…?

What do you mean with that? Is that a special way to install ownCloud? A quick internet search was not helpful…
How is you ownCloud set up? do you use docker? reverse proxy…?

Perhaps you need to give it a full path?

1 Like

I am using docker as well as reverse proxy. I am using ubuntu 18.04. But when I try to access a document I got the above error.

Regards,

You need to make sure that from inside the ownCloud docker container you can curl the external endpoint of the Collabora container AND the other way round.
From your client browser you also need to be able to curl both (ownCloud and Collabora) external endpoints.

1 Like