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 Cert issues with Nominatim site #572

Open
netmanchris opened this issue Apr 6, 2024 · 1 comment
Open

SSL Cert issues with Nominatim site #572

netmanchris opened this issue Apr 6, 2024 · 1 comment

Comments

@netmanchris
Copy link

Opening this to see if anyone else is having issues with the Geopy library when using Nominatim.

Using the simple examples

from geopy.geocoders import Nominatim
geolocator = Nominatim(user_agent="my_app")
x = (geolocator.geocode("Bachenbulach, Switzerland"))

I get the following error. Verified this on a couple of different systems and python versions.

GeocoderUnavailable: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Max retries exceeded with url: /search?q=Bachenbulach%2C+Switzerland&format=json&limit=1 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)')))

Looking at the SSL cert of the nominatim library - it looks like it was updated a few days ago.

image

I'm guessing there's some kind of cert chain issues happening but wanted to see if anyone else is seeing this before going down that rabbit hole.

@corentin-pujol
Copy link

Hi,

I am currently reaching the same error. Did you solve this issue? If you found a patch for this before going down that rabbit hole :)

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