Overpass API Availability Issues

The past 3-4 days I’ve tried to use overpass turbo, I’ve been met with this error:

An error occurred during the execution of the overpass query! This is what overpass API returned:

Error: runtime error: open64: 0 Success /osm3s_osm_base Dispatcher_Client::request_read_and_idx::timeout. The server is probably too busy to handle your request.

Is anyone else seeing issues with the API recently?

Actually this may just be user error. I forgot that I rewrote my query, and the timeout was reset to 60 seconds. Changing [timeout:60] to [timeout:2500] seems to have fixed the issue. I will leave this up in case it helps anyone else :slight_smile:

Perhaps the error message could mention this parameter for better UX

1 Like

This is a known issue, see Overpass API performance issues. Thank AI for abusing donation-funded services.

Solutions:

  • Set up your own instance or pay someone to do it for you. Note: Overpass is a dead-end. For production, you will want to use something different, e.g. PostgreSQL.
  • Install PostgreSQL, import data with Osm2pgsql and use SQL for querying.
  • Use Postpass if you just want to run a single or a few queries.
2 Likes