Changing Content Security Policy might overwrite defaults #2994
-
After changing my content security policy in an instance, I found that reverting to the default values of blank results in some errors on every page stating that the content security policy is blocking resources. Here's a snippet from my console
I'm also seeing further down the console the following error
Is there anywhere I may find the default values of these to put in the admin server settings for |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I went ahead and created a new instance after deleting the old one and I'm seeing the same issue. I thought maybe it was cache so tried on another computer to verify. You can see yourself here: https://hubs.broken.place I'm also seeing it in Spoke on the above instance and locally checked out to the master branch. In my local, the cors errors look like:
|
Beta Was this translation helpful? Give feedback.
-
On my live instance ( https://hubs.broken.place ) I've deployed the latest hubs-cloud branch to be certain, but still seeing the following on home page:
I cant figure out how a fresh new instance would be still doing this. I've dumped every cache I know of, including Cloudflare things. This one is weird! :D |
Beta Was this translation helpful? Give feedback.
-
I did some digging and documenting here: Hubs-Foundation/hubs-cloud#107 This is starting to feel like a cleanup issue from the old stack. When creating a new stack on the same domains (and cleaning up old record) it still produces Content Security Policy errors. You can reproduce the error most clearly by going to https://hubs.broken.place/spoke and making a new scene. When you've reached the new scene, add a video element and use a youtube/vimdeo url and you'll notice that videonode fails. The instance is currently what deploys with a new stack as of last night. |
Beta Was this translation helpful? Give feedback.
I did some digging and documenting here: Hubs-Foundation/hubs-cloud#107
This is starting to feel like a cleanup issue from the old stack. When creating a new stack on the same domains (and cleaning up old record) it still produces Content Security Policy errors.
You can reproduce the error most clearly by going to https://hubs.broken.place/spoke and making a new scene. When you've reached the new scene, add a video element and use a youtube/vimdeo url and you'll notice that videonode fails. The instance is currently what deploys with a new stack as of last night.