On 17 of May 2018 we faced with error “Errno::ENETUNREACH: Failed to open TCP connection to nominatim.openstreetmap.org:80 (Network is unreachable - connect(2) for "nominatim.openstreetmap.org" port 80)” on our server. On the another server we didn’t have this error with the same request.

Also we had received next responses before error: “

Apache/2.4.18 (Ubuntu) Server at nominatim.openstreetmap.org Port 80
</body></html> Geocoding API's response was not valid JSON: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </head><body>

Moved Permanently

The document has moved


Now service works fine. Could you please tell us why we had this error? Were we blocked on osm by IP?

asked 22 May '18, 13:27

vitalyvi's gravatar image

vitalyvi
11112
accept rate: 0%


I just tried visiting http://nominatim.openstreetmap.org and it redirected to https, and the example links on the nominatim wiki page were updated from http to https in January, so it might be you need to update your calls to use https

permanent link

answered 22 May '18, 15:38

EdLoach's gravatar image

EdLoach ♦
18.4k15148267
accept rate: 23%

1

That's correct. Starting May/11th the nominatim.osm.org server(s) redirect http to https.

(22 May '18, 20:37) mtmail
Your answer
toggle preview

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:

×572

question asked: 22 May '18, 13:27

question was seen: 1,378 times

last updated: 22 May '18, 20:37

powered by OSQA