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

[SSL: CERTIFICATE_VERIFY_FAILED] #89

Open
faq3pa opened this issue Jun 22, 2022 · 1 comment
Open

[SSL: CERTIFICATE_VERIFY_FAILED] #89

faq3pa opened this issue Jun 22, 2022 · 1 comment

Comments

@faq3pa
Copy link

faq3pa commented Jun 22, 2022

Both urllib3 & requests libraries are showing: [SSL: CERTIFICATE_VERIFY_FAILED]

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1129)

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Max retries exceeded with url: /search?format=json&limit=1&dedupe=0&q=Pra%C3%A7a+Ferreira+do+Amaral%2C+Macau (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1129)')))

requests.exceptions.SSLError: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Max retries exceeded with url: /search?format=json&limit=1&dedupe=0&q=Pra%C3%A7a+Ferreira+do+Amaral%2C+Macau (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1129)')))

@TakiGuan
Copy link

This is usually caused by your company firewall configuration. If you can't get help from your firewall team you need to manually change endpoint URL from https to http. It should in setting.py this file.

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

2 participants