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

Content security policy issue #8

Open
sayginburak opened this issue Oct 10, 2023 · 2 comments
Open

Content security policy issue #8

sayginburak opened this issue Oct 10, 2023 · 2 comments

Comments

@sayginburak
Copy link

Hello, I get this to work couple days ago. But now it is giving API error. And this is the error in the console. Did OpenAI block such scripts?

userscript.html?name=ChatGPT-API-By-Browser-Script.user.js&id=369ebf7e-0282-49bc-8bcd-1d341d20f2fc:130
Refused to connect to 'ws://localhost:8765/' because it violates the following Content Security Policy directive: "connect-src 'self' o33249.ingest.sentry.io statsigapi.net http://localhost:* https://*.oaistatic.com https://events.statsigapi.net *.oaiusercontent.com api-js.mixpanel.com fileserviceuploadsperm.blob.core.windows.net api-iam.intercom.io wss://fp-async-webps-prod.webpubsub.azure.com https://featuregates.org https://tcr9i.chat.openai.com rum.browser-intake-datadoghq.com https://cdn.openai.com wss://fp-async-webps-staging.webpubsub.azure.com https://chat.openai.com".

@azeriker
Copy link

azeriker commented Oct 12, 2023

i didnt research how secure it is, but u can disable CSP in chrome by extension. As example: https://chrome.google.com/webstore/detail/disable-content-security/ieelmcmcagommplceebfedjlakkhpden

@zhymma
Copy link

zhymma commented Nov 14, 2023

can you solve this issue now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants