Open csolisr opened 2 years ago
I have exactly the same issue. But I can't use the workaround, nothing like you in the firefox log console.
I can't reproduce this issue on my server using Nextcloud 25.0.1 with collabora 22.05.8.2.
I had the exact same problem. Solved the issue by changing the "Visitors" permissions at /yunohost/admin/#/groups
It started working for me when I added Nextcloud app (and not just API) permissions to the visitors user group.
Hope that helps!
It started working for me when I added Nextcloud app (and not just API) permissions to the visitors user group.
Does that mean that the issue is with external permissions?
I assume it is.
But were you able to replicate the fix?
I moved to the integrated Code server supplied as a Nextcloud app. I'll try uninstalling that and reinstalling Collabora over YunoHost later.
I have tested to reinstall Collabora, and by default it gives "All Users" and "Visitors" permissions for all three of "Collabora Online", "Nextcloud" and "Nextcloud (api)". The same error message still appears.
Could also be related to WOPI end-points. I couldn't figure out how to configure those so I don't have an allow list. Could it be the issue is a WOPI allow-list on your connector (like /nextcloud/settings/admin/richdocuments if you are using the generic Nextcloud Office one).
Could also be related to WOPI end-points. I couldn't figure out how to configure those so I don't have an allow list.
Describe the bug
When attempting to load a document from Nextcloud, it will invariably fail until several dozen attempts later, unless a specific window is opened in another tab (see details below)
Context
Steps to reproduce
Invalid X-Frame-Options header found while loading “https://collabora.example.net/browser/abd9205/cool.html?WOPISrc=https%3A%2F%2Fcloud.example.net%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F2266025_oc6x9qsw4o82&title=file.odt&lang=en-US&closebutton=1&revisionhistory=1”: “ALLOWALL” is not a recognized directive.
https://collabora.example.net/browser/abd9205/cool.html?WOPISrc=https%3A%2F%2Fcloud.example.net%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F2243256_oc6x9qsw4o82&title=file.odt&lang=en-US&closebutton=1&revisionhistory=1
in a new tab, then try reloading the first tab. The application will finally load.Expected behavior
The file should open directly, without requiring a workaround.