owncloud / richdocuments

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

Not able to open documents on Safari Browser #476

Closed ChrisEdS closed 2 years ago

ChrisEdS commented 2 years ago

Steps to reproduce

Current behaviour

image
ChrisEdS commented 2 years ago

Hello Team, can someone please take a look at that issue?

IljaN commented 2 years ago

On a quick try we couldn't reproduce in damkencloud. It looks like a issue with content-security policy (CSP). Are there any special steps with regard to CSP which need to be done during config?

Are other browser working?

NannaBarz commented 2 years ago

Which version from collabora is installed? Is this from a customer and can we have a config report and a collabora coolwsd report?

NannaBarz commented 2 years ago

@ChrisEdS Which version from collabora is installed? Is this from a customer and can we have a config report and a collabora coolwsd report?

ChrisEdS commented 2 years ago

I have more and more the opinion that this issue happens while working with a company proxy. I will close for now.

xoxys commented 1 year ago

Scenario:

We have deployed ownCloud Web as a sidecar container to ownCloud in multiple deployments. This way ownCloud and ownCloud Web are running on different domains and a custom CSP for Collabora (and Onlyoffice) is required by oC Web to embed Collabora as a framework.

Problem:

Adding connect-src 'self' to the Collabora CSP is not sufficient because wss is not automatically included in 'self' on some browsers, see https://github.com/w3c/webappsec-csp/issues/7 To fix this, we had to modify the CSP to connect-src 'self' wss://collabora.example.org.

Why does this only affect Safari:

I'm not entirely sure, but for some reason Safari seems to be the only browser that connects to Collabora via web socket, while all other browsers (at least Chrome and FF) do not.