GeoNames Home
|
Postal Codes
|
Download / Webservice
|
About
GeoNames Forum
Search
Recent Topics
Back to home page
Register
/
Login
No Response/Timeout
Forum Index
->
General
Author
Message
15/03/2009 23:15:17
Subject:
No Response/Timeout
jandtjolly
Joined: 15/03/2009 23:08:45
Messages: 1
Offline
When I try to convert an RSS feed to a geoRSS the service never responds. Take the following URL for example -
http://ws.geonames.org/rssToGeoRSS?feedUrl=http%3A%2F%2Fsports.yahoo.com%2Ftop%2Frss.xml
Is it something I'm doing or is the service experiencing difficulties?
Thank you.
18/03/2009 07:53:12
Subject:
Re:No Response/Timeout
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
The server was having some performance and availability problems due to too much load.
Marc
20/03/2009 03:02:13
Subject:
Re:No Response/Timeout
johns
Joined: 20/03/2009 02:55:07
Messages: 1
Offline
I need some help dealing with the server when it is under high demand.
The failure created by a geonames timeout is somewhat unfriendly. The web page just hangs, and doesn't load, until the apache server times out.
I am using PHP to call the geonames webservice in the following fashion:
$url = 'http://ws.geonames.org/findNearbyPlaceName?lat=' . $lat . '&lng=' . $long . '&style=FULL';
$geonames_xml = simplexml_load_file($url) ;
Is there an approach someone could suggest so that I can fail more gracefully. When geonames doesn't respond, sometimes my apache server crashes!
Thanks,
John
Forum Index
->
General
Go to:
Select a forum
Forum in English
-------------
General
Administrative Divisions
FAQ - frequently asked questions
Postal Codes
Discussion of GeoNames Toponyms
Forum in other language
-------------
Forum in Deutsch
Powered by
JForum 2.1.5
©
JForum Team
info@geonames.org
GeoNames Home
Postal Codes
Download / Webservice
Forum
About