Note that there are some explanatory texts on larger screens.

plurals
  1. POGoogle App Engine / Drive SDK: catching a lot HTTP Deadline exceptions
    primarykey
    data
    text
    <p>Our app is deployed on the Google App Engine, Python runtime (2.7) and is consuming the Drive API. More and more it catches <code>HTTPException</code> because of an exceeded deadline, on different endpoints (Drive, OAuth, etc.)</p> <p>We have implemented an exponential back-off mechanism with 5 tries. Our app is more and more reaching this limit (this morning for example we had a lot of these exceptions).</p> <p>What could be the origin of this issues? Is it possible to increase the timeout delay? </p> <p>Thanks for your help.</p> <p>Here's a full stacktrace (OAuth2 API):</p> <pre><code>2013-06-07 21:11:10,851 ERROR An error occurred : Deadline exceeded while waiting for HTTP response from URL: https://accounts.google.com/o/oauth2/token Traceback (most recent call last): File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 545, in dispatch return method(*args, **kwargs) File "/base/data/home/apps/s~unishared-gae/production.367909734400765242/main.py", line 733, in get creds = self.GetCodeCredentials() or self.GetSessionCredentials() File "/base/data/home/apps/s~unishared-gae/production.367909734400765242/main.py", line 301, in GetCodeCredentials creds = oauth_flow.step2_exchange(code) File "lib/oauth2client/util.py", line 128, in positional_wrapper return wrapped(*args, **kwargs) File "lib/oauth2client/client.py", line 1283, in step2_exchange headers=headers) File "lib/httplib2/__init__.py", line 1570, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "lib/httplib2/__init__.py", line 1317, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "lib/httplib2/__init__.py", line 1286, in _conn_request response = conn.getresponse() File "/python27_runtime/python27_dist/lib/python2.7/httplib.py", line 500, in getresponse raise HTTPException(str(e)) </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload