I have an application that has been running successfully but today i keep getting timeouts error and the bottom of the trace has: geopy.exc.GeocoderUnavailable: HTTPSConnectionPool(host=‘nominatim.openstreetmap.org’, port=443): Max retries exceeded with url: /search?q=Moscow&format=json&limit=1&addressdetails=1&namedetails=1&accept-language=en (Caused by ReadTimeoutError(“HTTPSConnectionPool(host=‘nominatim.openstreetmap.org’, port=443): Read timed out. (read timeout=1)”)) I would appreciate some help/suggestion on this matter. Best regards. asked 24 Aug '23, 18:40 Margherita |
My guess is you are exceeding what is allowed by the nominatim.openstreetmap.org usage policy. answered 26 Aug '23, 13:50 InsertUser |
It's likely what InsertUser guessed - or some other party misusing the demo nominatim endpoints. I've seen those timeouts today as well using a browser and the nominatim ui frontend at nominatim.osm.org (or the nominatim search field at osm.org).
If you do need a reliable service you may install nominatim yourself or use a third party provider, some are listed here: https://wiki.openstreetmap.org/wiki/Nominatim#Alternatives_.2F_Third-party_providers