I too have this problem, started at 2 am on Nov 1 (first fetch to that server on that day). The app fetches that url twice a day and has done so for more than a year, stopped working entirely as of Nov 1. I can access the URL in devserver, and in a browser, even with User-Agent setting that includes the GAE suffix, so it doesn't appear to be a problem on the server side. The url is http://aeronav.faa.gov/index.asp?xml=aeronav/applications/d_tpp
On Tuesday, November 5, 2013 2:37:53 PM UTC-8, GAEfan wrote: > > I have been fetching data from a url for years. Last week, it stopped > working, yielding nothing but DeadlineExceededError after 15 seconds > (which I have set for the timeout) > > From the destination logs, it appears the fetches are not reaching the > destination server. > > The fetches work from my development machine, in 2 seconds flat. The URL > is fine, as I can hit it easily. Other urls fetch properly. It is just > from this destination server that there are problems. > > Something in the production environment is blocking the fetch. > > How can I possibly diagnose this? > > > > Here is my code: > > def asynchronous_get(list_of_urls): > > rpcs = [] > for url in list_of_urls: > > rpc = urlfetch.create_rpc(deadline=15) > urlfetch.make_fetch_call(rpc, url, allow_truncated=True) > rpcs.append(rpc) > > fetch_list = [rpc.get_result() for rpc in rpcs] > > return [rpc.get_result() for rpc in rpcs] > > Using 1.8.6 in development, but 1.8.7 in production. This problem started > well after 1.8.7 was started. > > Error log: > > Traceback (most recent call last): > File "/base/data/home/apps/s~zzzzz8/django/core/handlers/base.py", line > 111, in get_response > response = callback(request, *callback_args, **callback_kwargs) > File "/base/data/home/apps/s~zzzzz8/core/views.py", line 2327, in updateData > pages = asynchronous_get([ 'http://www.goodurl....') > > File > "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", > line 612, in get_result > return self.__get_result_hook(self) > File > "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/urlfetch.py", > line 410, in _get_fetch_result > 'Deadline exceeded while waiting for HTTP response from URL: ' + url) > DeadlineExceededError: Deadline exceeded while waiting for HTTP response from > URL: 'http://www.goodurl....' > > > Thank you. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
