prettymaps icon indicating copy to clipboard operation
prettymaps copied to clipboard

[SSL: CERTIFICATE_VERIFY_FAILED]

Open faq3pa opened this issue 2 years ago • 1 comments

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)')))

faq3pa avatar Jun 22 '22 13:06 faq3pa

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.

TakiGuan avatar Jul 22 '22 13:07 TakiGuan