prettymaps
prettymaps copied to clipboard
[SSL: CERTIFICATE_VERIFY_FAILED]
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)')))
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.