This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

HTTP GET Request Times Out

0

I have a program running in Smallworld GIS that makes OpenStreetMap.org maps available as a backdrop. The program works for the vendor but not at my site. I can access OpenStreetMap.org maps from Internet Explorer just fine. I've dug down into the Smallworld api calls and found the method that makes the HTTP request. When I manually invoke the method to get data from other places, it works, but with OpenStreetMap.org it times out. I changed the HTTP GET request to HEAD, it works fine. Below is printed return information from a HEAD request:

HTTP Port # 80
Setting up TCPIP Connection...
Local address: 131.191.187.166. port 1203
Remote address: 129.132.168.206. port 80
TCP Connection Result: HTTP/1.1 200 OK
Date: Tue, 22 Feb 2011 20:21:24 GMT
Server: Apache/2.2.3 (CentOS)
Cache-Control: max-age=10800
Last-Modified: Mon, 15 Nov 2010 08:56:07 GMT
Content-Length: 21013
Connection: close
Content-Type: image/png

I've tried accessing OpenStreetMap.org maps from telnet and it times out as well:

jfarmer@smtp001:~$ telnet 129.132.168.206 80
Trying 129.132.168.206...
Connected to 129.132.168.206.
Escape character is '^]'.
GET / HTTP/1.0

And there it will sit for about 5 minutes, until the connection is closed by the remote host.

I suspect that this problem is very unique but hope someone may have an idea of what is going on.

asked 22 Feb '11, 19:41

Tom%20Arer's gravatar image

Tom Arer
15111
accept rate: 0%

edited 23 Feb '11, 08:26

Andy%20Allan's gravatar image

Andy Allan
12.5k23128153

1

may be its your fire wall see my question... beginner-in-josm-stuck-at-download

(22 Feb '11, 21:09) andy mackey
1

Note1: 129.132.168.206 is karosm not www not tile Note2: do you press enter twice?

(23 Feb '11, 09:11) emj

I looked at your response to beginner-in-josm-stuck-at-download.

I replaced the code in my api call with the URL you provided. I then did a HEAD request and here is part of the response:

Remote address: 128.40.168.105. port 80 TCP Connection Result: HTTP/1.1 405 Method Not Allowed Date: Thu, 24 Feb 2011 16:15:54 GMT

I did the GET request and it timed out.

My firewall guy doesn't believe that the GET request is being blocked. I need some specific information for him to do anything more. Any help is appreciated. BTW is there a way to do longer comments?

(24 Feb '11, 16:53) Tom Arer
1

Use the mailing lists.

(24 Feb '11, 17:01) Baloo Uriza

Source code available on GitHub .