Project

General

Profile

Actions

action #154546

closed

Cron fetch_openqa_bugs refused or timed out trying to fetch individual tickets

Added by livdywan 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
2023-10-23
Due date:
% Done:

0%

Estimated time:

Description

Observation

[...]
socket.timeout: timed out

During handling of the above exception, another exception occurred:

[...]
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7fdf94b4b4a8>, 'Connection to progress.opensuse.org timed out. (connect timeout=60)')

During handling of the above exception, another exception occurred:

[...]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='progress.opensuse.org', port=443): Max retries exceeded with url: /issues/31576.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fdf94b4b4a8>, 'Connection to progress.opensuse.org timed out. (connect timeout=60)'))

During handling of the above exception, another exception occurred:

[...]
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='progress.opensuse.org', port=443): Max retries exceeded with url: /issues/31576.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fdf94b4b4a8>, 'Connection to progress.opensuse.org timed out. (connect timeout=60)'))

or

[...]
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

[...]
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 172, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f6c6acae588>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

[...]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='progress.opensuse.org', port=443): Max retries exceeded with url: /issues/150923.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6c6acae588>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

[...]
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='progress.opensuse.org', port=443): Max retries exceeded with url: /issues/150923.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6c6acae588>: Failed to establish a new connection: [Errno 111] Connection refused',))

Suggestions

  • Add (more) retries, or consider exponential backoff
  • Ignore errors in the context of bug fetching - they are not typially actionable anyway
  • Come up with another way to alert us of on-going lack of updates of the bugs database

Related issues 1 (0 open1 closed)

Related to QA - action #152470: openqa-service fetch_openqa_bugs "requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='bugzilla.suse.com', port=443)"Resolvednicksinger2023-12-12

Actions
Actions

Also available in: Atom PDF