NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

We're receiving timeout errors this morning. Is the nominatim service down?

_call_geocoder raise GeocoderTimedOut('Service timed out') GeocoderTimedOut: Service timed out

asked 08 May '17, 16:24

gadgroup's gravatar image

gadgroup
11112
accept rate: 0%

There seem to be sporadic problems at http://nominatim.openstreetmap.org. Sometimes it is working, sometimes I'm receiving a 503 Service Unavailable.

(08 May '17, 16:46) scai ♦

I'm calling the service from a python program using the following...

# Initialize the Geo Locator
 geolocator = Nominatim()

Then sending a location.....

My log file is reporting the following...

_call_geocoder raise GeocoderTimedOut('Service timed out') GeocoderTimedOut: Service timed out

(08 May '17, 16:53) gadgroup

The server is again having trouble with users over-using the service. Remember that we are running on volunteer-run machines with limited resources. So when you are seeing Service timed out errors, you can help greatly by stopping your scripts for a while until admins have taken measures to get the traffic under control.

Given that Python scripts are a significant contributor to the server issues, I'd like to remind everybody at this point that we have a usage policy. Among other things, you should be

  • sending a user agent other than Python-urllib and
  • limit your queries to 1 request per second.

It would be greatly appreciated if you could take a minute and check that your script fulfills these requirements.

permanent link

answered 24 May '17, 22:53

lonvia's gravatar image

lonvia
6.2k25789
accept rate: 40%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689

question asked: 08 May '17, 16:24

question was seen: 5,441 times

last updated: 24 May '17, 22:53

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum