Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve read timeout handling #260

Open
joshmoore opened this issue Jan 21, 2020 · 0 comments
Open

Improve read timeout handling #260

joshmoore opened this issue Jan 21, 2020 · 0 comments

Comments

@joshmoore
Copy link
Member

Failures like that in https://latest-ci.openmicroscopy.org/jenkins/job/OMERO-plugins-push/214/console are becoming more common:

Traceback (most recent call last):
  File "/home/omero/workspace/OMERO-plugins-push/build/venv/lib64/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/omero/workspace/OMERO-plugins-push/build/venv/lib64/python3.6/site-packages/urllib3/connectionpool.py", line 720, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/omero/workspace/OMERO-plugins-push/build/venv/lib64/python3.6/site-packages/urllib3/util/retry.py", line 400, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/omero/workspace/OMERO-plugins-push/build/venv/lib64/python3.6/site-packages/urllib3/packages/six.py", line 735, in reraise
    raise value
  File "/home/omero/workspace/OMERO-plugins-push/build/venv/lib64/python3.6/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/home/omero/workspace/OMERO-plugins-push/build/venv/lib64/python3.6/site-packages/urllib3/connectionpool.py", line 423, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/home/omero/workspace/OMERO-plugins-push/build/venv/lib64/python3.6/site-packages/urllib3/connectionpool.py", line 331, in _raise_timeout
    self, url, "Read timed out. (read timeout=%s)" % timeout_value
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.github.com', port=443): Read timed out. (read timeout=15)

Possibilities:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant