Forum has a lot of CSP errors

These are the errors that come up in Firefox for me:

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). moz-extension:33:9

Uncaught ReferenceError: require is not defined

3875 Ember

Webpack 5

l.js:2

Uncaught SyntaxError: missing ) in parenthetical discourse-446b4a42b2d69071509174374b80bf7c104e9e68e9d6488bb7658c8d63741434.js:4088:105

Uncaught ReferenceError: define is not defined

NextJS

_discourse-canned-replies-0494c92a55918f3690abc99c56c7c39558a982bc906c07e899c7c0ab2ac19dfb.js:1

Uncaught ReferenceError: define is not defined

NextJS

_discourse-checklist-96c2565b6769e0fec8a8fc31f01fe28df779ec3da1e563aac7840ca46f10249d.js:1

Uncaught ReferenceError: define is not defined

NextJS

_discourse-details-a5c71c75398c735e851440262e3c9ba43f9d8a2a7d81d8ecec16c8b2dbf452c3.js:1

Uncaught ReferenceError: Ember is not defined

NextJS

_discourse-legal-tools-5d90ba4a6cc689eaa775506d8e6c25ea64b08132694b69c5a46fd8377ef65506.js:1

Uncaught ReferenceError: define is not defined

NextJS

_discourse-local-dates-31b6acd680ff99fc7ef3120fb25f18eaf3a82a22c35131a1006e9adab7a98e9c.js:1

Uncaught ReferenceError: define is not defined

NextJS

_discourse-narrative-bot-7648c8e9699610bc9a41dc34d627f0227a7501feb863a8d84ec0ab1bdc745e3d.js:1

Uncaught ReferenceError: define is not defined

NextJS

_discourse-presence-363e51235eafe16d3cccaf18627946b221f94af77d2a9799b12d87cdd90aed9b.js:1

Uncaught ReferenceError: Ember is not defined

NextJS

_discourse-solved-4d3657c5a2fed4fd1bcb43c4c1372ceb874d80f9c832a25e70663359fbee18ad.js:1

Uncaught ReferenceError: Ember is not defined

NextJS

_docker_manager-e9051087d194e8aa67b4c5b7e81485c6e0160affc559244d3ec947fcb3bdd08e.js:1

Uncaught ReferenceError: define is not defined

NextJS

_lazy-yt-362fd991a752ebdc53b9b3b70aea43cb46676f634c323d6c79c0bef4c6bebad3.js:1

Uncaught ReferenceError: define is not defined

NextJS

_poll-bc4217fd8ee1eee81c9d8463c38c46ad3461aacece1955a296348170f58da4bc.js:1

Uncaught ReferenceError: requirejs is not defined

NextJS 2

discourse-boot.js:11

Content Security Policy: The page’s settings blocked the loading of a resource at https://stats.nextcloud.com/piwik.js (“script-src”). 896f1d86003509c1dfb18849df02c9a1db3c15d4.js:11:91

And a few Warnings as well:

This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. help.nextcloud.com

Loading failed for the with source “https://help.nextcloud.com/assets/vendor-ba7d09ad35bd9aedfe313624355092d06c2c3d59f4ef9a41061b57ae59de9c0c.js”. help.nextcloud.com:60:1

Loading failed for the with source “https://stats.nextcloud.com/piwik.js”. help.nextcloud.com:1:1

I can confirm that.
It is getting worse.

Any idea, @blizzz ?

1 Like

I split this specific error from the general discussion page.

3 Likes

I see a few CORS issues regarding fonts attempted to be loaded from the website. But I cannot reproduce CSP issues with the resources mentioned here, also using Firefox. What to do to provoke them?

This page uses the non standard property “zoom”.

That’s discourse’s code. :innocent:

Could you please elaborate your setup in detail?

@just being a kind of interface to discourse (giggle) maybe you could found out more with them?

2 posts were split to a new topic: Remove NC24 header for non logged in users

I do not have access to the logs. Only admins on staff can help with this.

You can also search for more info on meta.discourse.org

Clearing site information stopped some of the errors and allowed the page to actually load. Then I had my computer freeze up, requiring a hard reset, and I was back to the never-ending loading, which again was fixed by clearing site data. Is something holding the local cookies file open for continuous update, such that the file is left corrupted if the page is not exited cleanly?

First question: where are you connecting from geographically?

If your computer is literally freezing, you may want to seriously consider if the problem is with your machine.

1 Like

I’m in Australia. I’m not blaming the freezing up of my computer on the forum, that’s an unrelated issue.

I’m just providing extra information about what’s happening. Maybe the errors can be duplicated by force-killing the browser?