#8 'RetryError' object has no attribute 'message' when handling ResponseError
Closed: Fixed 5 years ago by jskladan. Opened 6 years ago by frantisekz.

I'll look into this and add more info later.

For now, whenever there is an issue with connecting to resultsdb, eg:

requests.exceptions.RetryError: HTTPConnectionPool(host='resultsdb-dev01.qa.fedoraproject.org', port=80): Max retries exceeded with url: /resultsdb_api/api/v2.0/testcases/dist.python-versions.two_three (Caused by ResponseError('too many 503 error responses'))

resultsdb_api apparently fails to handle the error:

File "/usr/lib/python3.7/site-packages/resultsdb_api.py", line 97, in get
    raise ResultsDBapiException('Maximum number of retries exceeded: %s' % e.message, None)
AttributeError: 'RetryError' object has no attribute 'message'

Metadata Update from @jskladan:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

@frantisekz Can you please create a new patch release, publish it to Bodhi, and deploy? Thanks a lot.

Log in to comment on this ticket.

Metadata