LightningContainerExamples icon indicating copy to clipboard operation
LightningContainerExamples copied to clipboard

React App using lightning container blocked by CSP "wss"

Open alex-huang-dc opened this issue 4 years ago • 0 comments

I have developed react app and using lighting container. It is working fine with lightning community portal. But when I try to use the lightning container in lightning experience. It showed the error that I has been blocked Refused to connect to 'https://remote-api-service-dev.herokuapp.com/*********' because it violates the following Content Security Policy directive: "connect-src 'self' wss://fta--c.container.lightning.com:80".

So I added wss://fta--c.container.lightning.com into CSP setting. But it still not working.

Did I miss anything? Because I used it last year, it was working in last year in lightning experience.

alex-huang-dc avatar Jan 04 '21 16:01 alex-huang-dc