Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client does not start (due to CORS errors?) #27154

Closed
robintown opened this issue Mar 11, 2024 · 3 comments
Closed

Client does not start (due to CORS errors?) #27154

robintown opened this issue Mar 11, 2024 · 3 comments
Assignees
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Critical Prevents work, causes data loss and/or has no workaround T-Defect

Comments

@robintown
Copy link
Member

robintown commented Mar 11, 2024

Steps to reproduce

  1. Go to develop.element.io
  2. Wait for my client to start

Outcome

What did you expect?

It starts

What happened instead?

It loads forever. In the console I see these 3 errors:

Security Error: Content at https://develop.element.io/ may not load data from https://element-web-develop.element.io/bundles/3eadc54aa913d27aaf27/blurhash.worker.js.
Security Error: Content at https://develop.element.io/ may not load data from https://element-web-develop.element.io/bundles/3eadc54aa913d27aaf27/indexeddb.worker.js.
Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).

The same happens if I force-reload the page (Ctrl+Shift+R), and if I try to open develop.element.io in a private window.

Operating system

NixOS unstable

Browser information

Firefox 122.0.1

URL for webapp

develop.element.io

Application version

8d04ce4-react-431ae32304c2-js-3711ad7e6159

Homeserver

Synapse 1.99.0

Will you send logs?

I would if I knew of a way to do so from the console before the app has loaded

@robintown robintown added T-Defect S-Critical Prevents work, causes data loss and/or has no workaround labels Mar 11, 2024
@robintown robintown added the O-Occasional Affects or can be seen by some users regularly or most users rarely label Mar 11, 2024
@BillCarsonFr
Copy link
Member

On firefox the errors I see are NS_ERROR_CORRUPTED_CONTENT for *.worker.js (in FF devtools)

@florianduros
Copy link
Member

florianduros commented Mar 11, 2024

It's working again.

Cloudflare had an outage and maybe we had an issue on the artifact upload ? We are using the git sha to sign/name/i don't know the artifact and we needed a new commit on the react-sdk and a new deployment. Just redeploy wasn't enough.

@t3chguy
Copy link
Member

t3chguy commented Mar 11, 2024

It's working again.

@florianduros should this issue be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Critical Prevents work, causes data loss and/or has no workaround T-Defect
Projects
None yet
Development

No branches or pull requests

4 participants