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

gitlab.gnome.org: Max retries exceeded: connect timeout=15 #40

Open
jayvdb opened this issue Apr 5, 2020 · 2 comments
Open

gitlab.gnome.org: Max retries exceeded: connect timeout=15 #40

jayvdb opened this issue Apr 5, 2020 · 2 comments

Comments

@jayvdb
Copy link
Owner

jayvdb commented Apr 5, 2020

pypillowfight & paperwork-backend & pyocr fail during the tests (not in the library):

tests/utils.py:268: in _test_names
    r = web_session.get(url, timeout=get_timeout(url))
...
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='gitlab.gnome.org', port=443): Max retries exceeded with url: /World/OpenPaperwork/libpillowfight (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97179c4640>, 'Connection to gitlab.gnome.org timed out. (connect timeout=15)'))

The timeouts for known SCM should be much higher.

A problem with higher timeouts is the test runner also has a limit, and that isnt flexible. pygtk encountered this.

@jayvdb jayvdb added the network label Apr 5, 2020
@jayvdb jayvdb added this to the v0.2.4 milestone Apr 5, 2020
@jayvdb
Copy link
Owner Author

jayvdb commented Apr 5, 2020

pyxdg can occasionally raise IncompletePackageMetadata: pyxdg has no license in PyPI metadata, because timeout on freedesktop.org, when http://freedesktop.org/wiki/Software/pyxdg is slow, meaning it cant reach SCM gitlab.freedesktop.org, so base domains need to also have a higher timeout, or add a rule for freedesktop.org if it can be used to reach gitlab:

ERROR    https_everywhere.adapter:adapter.py:124 handle_error requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='freedesktop.org', port=443): Read timed out. (read timeout=15)
ERROR    https_everywhere.adapter:adapter.py:124 handle_error requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='freedesktop.org', port=443): Read timed out. (read timeout=15)
ERROR    https_everywhere.adapter:adapter.py:124 handle_error requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='freedesktop.org', port=443): Read timed out. (read timeout=15)
ERROR    https_everywhere.adapter:adapter.py:124 handle_error requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='freedesktop.org', port=443): Read timed out. (read timeout=15)
ERROR    https_everywhere.adapter:adapter.py:124 handle_error requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='freedesktop.org', port=443): Read timed out. (read timeout=15)
ERROR    https_everywhere.adapter:adapter.py:124 handle_error requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='freedesktop.org', port=443): Read timed out. (read timeout=15)

@jayvdb
Copy link
Owner Author

jayvdb commented Apr 5, 2020

upt-pypi

E               requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='framagit.org', port=443): Read timed out. (read timeout=11)

https://cirrus-ci.com/task/5097788014854144?command=main#L1593

@jayvdb jayvdb mentioned this issue Apr 5, 2020
@jayvdb jayvdb modified the milestones: v0.2.4, v0.2.5 Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant