owncloud / richdocuments

:notebook_with_decorative_cover: Collabora Online for ownCloud
118 stars 53 forks source link

loading document exception: Access denied, 403 #521

Open Zud71 opened 1 year ago

Zud71 commented 1 year ago

I can't open files in the cloud. At the same time, I can create new files and see a list of them, but when I open it, it says “could not connect to the document.” Owncloud – ver 10.13.1.23 coolwsd - ver 23.05.4.2-1 PHP 7.4.3

[docbroker_008 ] ERR WOPI::CheckFileInfo failed for URI [http://xxxxx/index.php/apps/richdocuments/wopi/files/8414_oc9gbwwkbvbm_0_0?a> [ docbroker_008 ] ERR loading document exception: Access denied, 403. WOPI::CheckFileInfo failed on: http://xxxxxx/index.php/apps/richd> [ docbroker_008 ] ERR Failed to add session to [http%3A%2F%2Fxxxxx%3A80%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F8414_oc9gb> [ docbroker_008 ] ERR Unauthorized Request while starting session on http%3A%2F%2Fxxxxxx%3A80%2Findex.php%2Fapps%2Frichdocuments%2Fwopi> [ docbroker_008 ] ERR #30: Read failed, have 0 buffered bytes (ECONNRESET: Connection reset by peer)| net/Socket.hpp:1122 [ docbroker_008 ] WRN #30: Unassociated Kit (2194) disconnected unexpectedly| wsd/COOLWSD.cpp:3491

cs35-owncloud commented 12 months ago

I think I ran in the same problem as you. My richdocuments app got updated to 4.0.0 and became unavailable to connect to the latest collabora/code:23.05.4.2.1 docker version. I had to revert to richdocuments 3.0.0 to make it work.

Zud71 commented 12 months ago

After much experimentation I was able to run coolwsd - ver 23.05.4.2-1 only on ownCloud version 10.10.0, all versions above do not work.

cs35-owncloud commented 12 months ago

Thanks, I guess the richdocuments version is 3.0.0 in ownCloud 10.10.0 ?

Zud71 commented 12 months ago

Latest richdocuments and ownCloud 10.10.0

cs35-owncloud commented 12 months ago

Thanks, in my case it does work with ownCloud 10.12.2.1 and richdocuments 3.0.0, but not richdocuments 4.0.0

mrow4a commented 10 months ago

Thanks for reporting the issue. It is being investigated, current hypothesis is that it happens on certain proxy setups. Will keep you updated here with progress.

cs35-owncloud commented 10 months ago

Thanks, feel free to ask if you need any informations !

mrow4a commented 10 months ago

is fixed in upcoming 4.1.0. Bug related to format of fileid attached to token depending on database driver returning type.