i can't connect to the websocket because of my CSP (Content Security Policy) - what is wrong?
Error:
ps-client-component-websocket-adapter.js:412 Refused to connect to 'wss://hostname.domain:port/jsonWebSocket' because it violates the following Content Security Policy directive: "connect-src 'self'".
My IIS web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Cache-Control" value="no-cache" />
<!---<add name="X-Content-Security-Policy" value="default-src 'self' 'unsafe-eval'; connect-src 'self'; img-src 'self'; object-src 'none'; child-src *;" />-->
<add name="Content-Security-Policy" value="connect-src 'self' wss://hostname.domain:port/jsonWebSocket; default-src 'self' 'unsafe-eval'; img-src * data:; object-src 'none'; child-src *;" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
</configuration>