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

reCAPTCHA blocked in China #13350

Closed
SimFG opened this issue Mar 31, 2023 · 2 comments
Closed

reCAPTCHA blocked in China #13350

SimFG opened this issue Mar 31, 2023 · 2 comments
Labels
bug 🐛 CDN/network Issues related to our CDN, users having problems connecting to PyPI

Comments

@SimFG
Copy link

SimFG commented Mar 31, 2023

Describe the bug

image
can't register a account, refer to: #3174
Expected behavior

To Reproduce

My Platform

Additional context

@SimFG SimFG added bug 🐛 requires triaging maintainers need to do initial inspection of issue labels Mar 31, 2023
miketheman added a commit that referenced this issue Mar 31, 2023
Thanks to some extra debugging detaisl, we can see that the script
is being loaded via a different Google Static domain in China.

Refs: #3174, #13232, #13350

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
@miketheman miketheman added CDN/network Issues related to our CDN, users having problems connecting to PyPI and removed requires triaging maintainers need to do initial inspection of issue labels Mar 31, 2023
@miketheman
Copy link
Member

I've shipped a change to the Content Security Policy we set as headers for the recaptcha - this directive helps by telling browsers what the authors of a website have decided which scripts to securely allow, and prevent unintended other scripts loading.

If you wouldn't mind deactivating the plugins that disable the CSP behavior and confirming that the recaptcha loads on registration page pypi.org/account/register so we can close this out?

@SimFG
Copy link
Author

SimFG commented Mar 31, 2023

ok, thanks your reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 CDN/network Issues related to our CDN, users having problems connecting to PyPI
Projects
None yet
Development

No branches or pull requests

2 participants