Bug #8928

[SDKs] EventClient crashes after API server returns 504

Added by Jiayong Li over 3 years ago. Updated about 3 years ago.

Status:
Feedback
Priority:
Normal
Assigned To:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

Traceback (most recent call last):
  File "/home/jiayong/miniconda2/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/home/jiayong/miniconda2/lib/python2.7/site-packages/arvados_python_client-0.1.20160331153549-py2.7.egg/arvados/events.py", line 92, in run
    items = self.api.logs().list(limit=1, order="id desc", filters=f).execute()['items']
  File "/home/jiayong/miniconda2/lib/python2.7/site-packages/oauth2client/util.py", line 140, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/home/jiayong/miniconda2/lib/python2.7/site-packages/googleapiclient/http.py", line 729, in execute
    raise HttpError(resp, content, uri=self.uri)
ApiError: <HttpError 504 when requesting https://su92l.arvadosapi.com/arvados/v1/logs?alt=json&limit=1&order=id+desc&filters=%5B%5B%22object_uuid%22%2C+%22is_a%22%2C+%22arvados%23job%22%5D%5D returned "Gateway Time-out">

Related issues

Related to Arvados - Bug #8931: [SDK] websocket event thread crashResolved04/25/2016

History

#1 Updated by Jiayong Li over 3 years ago

  • Subject changed from Workbench API error to API error HTTP 504 error
  • Description updated (diff)

#2 Updated by Brett Smith over 3 years ago

  • Subject changed from API error HTTP 504 error to [SDKs] EventClient crashes after API server returns 504
  • Status changed from New to Feedback

This should also have been resolved by #8931, which catches and retries these errors.

#3 Updated by Tom Morris about 3 years ago

  • Assigned To set to Jiayong Li

Also available in: Atom PDF