On Fri, Dec 27, 2013 at 12:39 PM, Roger <[email protected]> wrote:
> I'm having some issues with *Deadline Exceeded error*. Basically I'm > doing some webscrapping in an URL using *Mechanize*. I have this error > > HTTPException: Deadline exceeded while waiting for HTTP response from URL: > my-url > > I have read the > documentation<https://developers.google.com/appengine/articles/deadlineexceedederrors> > where > it says to use *Backends* (I'm using a dynamic backend, B4_1G class with > 5 instances), but still having this error happening in 60 seconds. And > according to the docs, when using *TaskQueue* and *Backends* the timeout > should be extended to 10 minutes. Any ideas of what might be happening? > Thank you. > This issue is not about the instance taking too long, the issue is that the urlfetch is unable to fully download the requested URL within the default amount of time. Use *urlfetch.set_default_fetch_deadline(number of seconds to download file)* to increase the urlfetch deadline. ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- 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.
