Export to GitHub

httplib2 - issue #231

Expose App Engine URLFetch DeadlineExceededError for debugging purposes


Posted on Oct 6, 2012 by Grumpy Wombat

What steps will reproduce the problem? 1. On App Engine using a Frontend instance and httplib2 make a request to a server taking longer than 60 seconds to respond. 2. DeadlineExceededError is thrown by the runtime (because URLFetch took too long)

What version of the product are you using? On what operating system? 0.7.6

Please provide any additional information below.

Catching DeadlineExceededError and raising a meaningful exception will aid in troubleshooting. For instance, this will make it clearer that a timeout value should be passed into httplib2.Http().

Comment #1

Posted on Nov 12, 2012 by Massive Hippo

This issue was closed by revision e78fbc336997.

Status: Fixed

Labels:
Type-Defect Priority-Medium