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

Activites do not load due to the Content Security Policy #525

Open
3 of 7 tasks
strawbberrys opened this issue Mar 1, 2024 · 3 comments
Open
3 of 7 tasks

Activites do not load due to the Content Security Policy #525

strawbberrys opened this issue Mar 1, 2024 · 3 comments
Assignees
Labels
info:upstream Issue with WebCord's depencencies / thirdparty software status:need-info Further information is requested type:bug Something isn't working

Comments

@strawbberrys
Copy link

Acknowledgements

  • I have checked that there is no other issue describing the same or
    similar problem that I currently have, regardless if it has been
    closed or open.

  • This bug affects Discord website.

  • This issue is confirmed to be reproducible when WebCord is packaged
    on at least all three latest supported Electron major releases.

  • This issue is reproducible in Chrome, Chromium or any
    Chromium-based browser, e.g Brave or Edge (please write in
    Additional Context which browser you have used if it is neither
    Chrome nor unmodified Chromium).

  • There are no fixes done to master which resolves this issue.

  • My issue describes one of the unstable and/or not fully implemented
    features.

  • I have found a workaround to mitigate or temporarily fix this issue
    in affected releases (please write it in Additional context section
    below).

Operating System / Platform

🐧️ Linux

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

29.0.1

Application version

4.8.0

Bug description

Attempting to launch any activity while inside of a voice channel results in a white screen being displayed instead of the activity. This comes along with the error: (node:5599) electron: Failed to load URL: https://localhost:3000/?instance_id=...... with error: ERR_BLOCKED_BY_CSP. Disabling the built-in Content Security Policy does not seem to fix this issue.

Additional context

No response

@strawbberrys strawbberrys added the type:bug Something isn't working label Mar 1, 2024
@SpacingBat3
Copy link
Owner

(...) Disabling the built-in Content Security Policy does not seem to fix this issue.

If so, that would be an issue within the Discord itself. After all, with CSP disabled you should use the CSP they provide.

Also, what kind of the activity really requires to connect to a local server? A more info on that would help a lot.

@SpacingBat3 SpacingBat3 added status:need-info Further information is requested info:upstream Issue with WebCord's depencencies / thirdparty software labels Mar 1, 2024
@strawbberrys
Copy link
Author

strawbberrys commented Mar 1, 2024

Also, what kind of the activity really requires to connect to a local server? A more info on that would help a lot.

Any voice channel activity I launch causes this error to throw in the console, I don't know why it requests to localhost though. Am I the only one having this issue? Only started happening a few weeks ago and it does not happen on the default client.

@strawbberrys
Copy link
Author

@SpacingBat3 ?

Also, what kind of the activity really requires to connect to a local server? A more info on that would help a lot.

Any voice channel activity I launch causes this error to throw in the console, I don't know why it requests to localhost though. Am I the only one having this issue? Only started happening a few weeks ago and it does not happen on the default client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info:upstream Issue with WebCord's depencencies / thirdparty software status:need-info Further information is requested type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants