1

I'm very new to GIS and am trying to geocode a list of addresses of some OpenData in QGIS using MMQGIS....however when I go to run MMQGIS Geocode function with my .csv. I keep getting this error and similar ones.

Failure connecting to API: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>

I've read the different forums and updated my Shell Profile and Install Certificates in Python. If its relevant I use MacOS and QGIS 3.10 and have Python 3.8 Installed..

2
  • Can you post your url call.
    – enolan
    Dec 31, 2019 at 13:45
  • I'm using the MMQGIS plugin directly in QGIS, so I don't have access to the code to modify as you've suggested. Dec 31, 2019 at 17:40

1 Answer 1

1

Add this to your code: response = requests.get(url, verify=False)

Without verify=false the inherent function of request.get is to verify your ssl cert since you are requesting over https.

If you find that you want to verify=true then you will need more code. This article will be helpful.

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.