Closed vstinner closed 6 years ago
Last year I reported a random TLS error on bugs.python.org, but it's likely unrelated since it's a different domain and a different service: https://github.com/python/psf-infra-meta/issues/4
Thank you for your complete and thorough report @vstinner. Nothing in the provided diagnostics stand out unfortunately. I'll forward it on to our CDN provider to see if there are any known issues with the Point of Presence you were connecting to for files.pythonhosted.org.
Issues like this tend to be due to CDN reachability stemming from IP Multicast issues (CDN provider or ISP related), general IP connectivity issues, as well as ISP or Corporate firewalls/proxies, so it ultimately leaves us with little recourse 😞.
We are unable to see these connection resets in the metrics available from the CDN, so they are hard to track over time. Do you have any timeframe for when this issue began (and ended if it has resolved)?
I would say that the issue occurred today between 11:40 and 11:55 UTC.
I removed ~/.cache/pip/ and ran "tox -e py27" again: all downloads complete with success. I repeated the same test: new success. Well, networking black box... Feel free to close the issue if you prefer :-)
Going to close this as it seems to have been a transient issue with our CDN or the network, please feel free to reopen if it reoccurs!
Hi! I had encountered the same bug that lasts for about a week. Any info I can provide to solve this issue?
Hi @kreopt can you paste the logs from pip for us to review?
pip3.7 -v install --user aiodine
Created temporary directory: /tmp/pip-ephem-wheel-cache-yj1c1oul
Created temporary directory: /tmp/pip-req-tracker-x8zoe5yi
Created requirements tracker '/tmp/pip-req-tracker-x8zoe5yi'
Created temporary directory: /tmp/pip-install-3wn99dyb
Collecting aiodine
1 location(s) to search for versions of aiodine:
* https://pypi.org/simple/aiodine/
Getting page https://pypi.org/simple/aiodine/
Looking up "https://pypi.org/simple/aiodine/" in the cache
Current age based on date: 249278
Freshness lifetime from max-age: 600
Freshness lifetime from request max-age: 600
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/aiodine/ HTTP/1.1" 304 0
Analyzing links from page https://pypi.org/simple/aiodine/
Found link https://files.pythonhosted.org/packages/d0/c7/e74842f61315de6f3e988ac669887be386fbd0eb7083ee47831eb9f03456/aiodine-0.1.0-py3-none-any.whl#sha256=feeb50df4d8a5bcce8571509c9620439d8d2792befd287959ab34492e945bf6d (from https://pypi.org/simple/aiodine/), version: 0.1.0
Found link https://files.pythonhosted.org/packages/1a/2a/55ca3a1ff2a82b63cec7cf5b70f2dab2fd11cb477d878a08ed6fffd1fd37/aiodine-0.1.0.tar.gz#sha256=1b7811dfb0ee893bbf4b4f0f112ceff02224a6530c53664f31fec98af25181a4 (from https://pypi.org/simple/aiodine/), version: 0.1.0
Found link https://files.pythonhosted.org/packages/bb/aa/d547738f401eccd480fcbf6febfa868881a550a3f6d8625aaace8a026b77/aiodine-0.1.1-py3-none-any.whl#sha256=d2ab6840fe00666b797a1398ff5d17276d857ed77487df86daee1d8002fbcb0a (from https://pypi.org/simple/aiodine/), version: 0.1.1
Found link https://files.pythonhosted.org/packages/11/f7/8a3d22ea3ba4643685c58d1f6bfa534ee55aca45c48dbfbac6b2f59b2981/aiodine-0.1.1.tar.gz#sha256=9b896effa60363c59bcb4ffb6e29ce69a5af279e6216fca7713c7fa2124bd33c (from https://pypi.org/simple/aiodine/), version: 0.1.1
Found link https://files.pythonhosted.org/packages/8c/61/ab50f077e3d4f45d566c25078218940b64b7f515874759e7f96db7bf4881/aiodine-0.1.2-py3-none-any.whl#sha256=9b9cda5598dbb9ad476010460d751beb548ce63e72cde626d02b2cca585b54d1 (from https://pypi.org/simple/aiodine/), version: 0.1.2
Found link https://files.pythonhosted.org/packages/8e/81/8480bf65b4fab27a9f8797bc15bbab63a7b8c41b6ecee0d266c59e936908/aiodine-0.1.2.tar.gz#sha256=5bf7cfa502d26085220c697ce9366aa9ea6d9960368f33a53b5bd4e1e8058553 (from https://pypi.org/simple/aiodine/), version: 0.1.2
Found link https://files.pythonhosted.org/packages/09/65/14defe01c7680b114bf5cbe7dafe85d55dade2c3bbc03520254719264a14/aiodine-0.1.3-py3-none-any.whl#sha256=dda1d99bd34438cdef7a958f413fca795b1e26f159f39ce3b16c07088b787cc7 (from https://pypi.org/simple/aiodine/), version: 0.1.3
Found link https://files.pythonhosted.org/packages/97/2d/2a2cf977b6a2fed730a6254086f6c153b8d0cbff5915aa43079bdc1a3674/aiodine-0.1.3.tar.gz#sha256=1b4ceff63341536eaaa933626866e7a856e7a465fc3f415b9cd62b1601e2b260 (from https://pypi.org/simple/aiodine/), version: 0.1.3
Found link https://files.pythonhosted.org/packages/e6/63/35fdaad653705a2511b1c84a3b286683b851c68f1dd04bbd26bb0763c6a4/aiodine-0.2.0-py3-none-any.whl#sha256=a5d8aeb115b59ef9f373b23ec82e269e1bec847890d9a34962b2bf92cb52a852 (from https://pypi.org/simple/aiodine/), version: 0.2.0
Found link https://files.pythonhosted.org/packages/17/46/03662ca3493e77cf5ad15ef329d8731af647780316bd5176d7cb44115ef4/aiodine-0.2.0.tar.gz#sha256=7c8156241ccfb1826e8c7fa34e03345d7b7e853368a944fd9b094017c44df12f (from https://pypi.org/simple/aiodine/), version: 0.2.0
Found link https://files.pythonhosted.org/packages/ac/87/c87af51ff17930d3552aba5fa9d86005657127c8feb31854ed05253e08bb/aiodine-1.0.0-py3-none-any.whl#sha256=4d3ef6d7f7fc54c6930a750c27ed3316b3ba112564c4414a4100961a36d76f96 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.0.0
Found link https://files.pythonhosted.org/packages/4e/e3/e9b58c0241598a1ea3f1a345301a4c10237baf15df36a80c111d43526b88/aiodine-1.0.0.tar.gz#sha256=3f019e243cb410307b820bf404bcaf477409ed1c1de80fc6704f8de4867154a7 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.0.0
Found link https://files.pythonhosted.org/packages/5c/9b/b12fa9f1bf98faee90ef25f552a633be8baaff5a8e0335af27f43c8fe807/aiodine-1.0.1-py3-none-any.whl#sha256=a4e034f8d685d6afb60aead576364f75c9d9a561eedd4aeea07f1437304dbd67 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.0.1
Found link https://files.pythonhosted.org/packages/30/da/640031b2f39e3bdac50857878d1cf348a2e95d87da160c989abdeeeb52da/aiodine-1.0.1.tar.gz#sha256=084f706e0295717bd51124f34415f39763cb5feda2759b85ea49f3ecd7f12093 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.0.1
Found link https://files.pythonhosted.org/packages/60/6e/3bf9d11dea0401265447400d7d246f2d5526eceaf8644bd4788b569dc45f/aiodine-1.1.0-py3-none-any.whl#sha256=433c71d9265cdb93535465c3fde954ed05ca94f9167d565251fc55ee6fd14263 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.1.0
Found link https://files.pythonhosted.org/packages/01/36/60280d17fad2cf74093139382e47c398a6b3b767a0543a1f47dffabc1be8/aiodine-1.1.0.tar.gz#sha256=7af4fc6e87f86a1f8786efe99d2d199e81f24ede9f230608cb5d5bdfb9e7fc41 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.1.0
Found link https://files.pythonhosted.org/packages/1a/67/28385e8d8e56169447ffbf08f050899b0e7678842605fac22f30dde07bda/aiodine-1.1.1-py3-none-any.whl#sha256=2fe2b775a0f1e082caeba43fd9abf353f74f557816de22d6f29fcbcc3adc3e3e (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.1.1
Found link https://files.pythonhosted.org/packages/2c/63/63bf56c841c853e6e4339e4b5d3027b4d9345cb4d566190027f679a807c6/aiodine-1.1.1.tar.gz#sha256=6913e70738221e09d43c5c188c32fcc73009522fe4edca117d1b1883f96dfc19 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.1.1
Found link https://files.pythonhosted.org/packages/2b/51/b45c60e814317395e4929d873faf6ef756f1e3ecfd72ee3b3b036018dbda/aiodine-1.2.0-py3-none-any.whl#sha256=3e78004dd8d202fb46a8b9f72a9c6cd44b8d568a9cb28ff6e94e2e0617fe0dc0 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.0
Found link https://files.pythonhosted.org/packages/ca/a6/daec59ec1b3de69b9bff0e04c2351cd1473123720f043279a425fb351f40/aiodine-1.2.0.tar.gz#sha256=05f69fa4e376da4b1273932644afe35fd01a0f476f110808b1a265a20dcd111d (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.0
Found link https://files.pythonhosted.org/packages/90/04/4d43f74c0171df1fb43940371ace8c1e8a3295eeb02e90e717f6e94340a5/aiodine-1.2.1-py3-none-any.whl#sha256=fe1158690f7909c9b82704af3802da2b776cf08e1a38051105fb1cecfc6c347b (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.1
Found link https://files.pythonhosted.org/packages/8f/22/2e98d7eb9ff126e6fbd52e2242cd0cf539c29e83d41400f0446189b03861/aiodine-1.2.1.tar.gz#sha256=017fa624eed80cc82c7bd161087691ebe2c41af8e3b6a24b562e6abcb376e75f (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.1
Found link https://files.pythonhosted.org/packages/46/fa/c014fda08e7aa9ac24b5975e3872d24983cc22722653bff9b6ce10a34fea/aiodine-1.2.2-py3-none-any.whl#sha256=5da565caf649dd30c0b13060f63a4192efbb42838ce3544347548b297d68aa41 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.2
Found link https://files.pythonhosted.org/packages/bd/8d/af90d7253ffa2e8c63324dbc8a53753f42a0804b63cbad67f741dc35d395/aiodine-1.2.2.tar.gz#sha256=595826b921adc4d85cdb349097e7f529bd9ebd506e80a8ab5af91920a6159f11 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.2
Found link https://files.pythonhosted.org/packages/26/04/be91de4330c824ab23f0dbf67bcbd6068cbfea247da324beeefe3324b418/aiodine-1.2.3-py3-none-any.whl#sha256=ddf9377dfc8158302d2306b41d651ebfa4dabc4e390052579c9d1d5a4c74e3ea (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.3
Found link https://files.pythonhosted.org/packages/d1/d6/040af9571f2a0dd189b7c14b68696f023122b8bb2fd9731b1e8db409d3aa/aiodine-1.2.3.tar.gz#sha256=5aa0e6c63f1b7279c02d4619c2e92a72ad3fa8a337d5bacb53f9fc584eca02a1 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.3
Found link https://files.pythonhosted.org/packages/b5/e6/c468f9c2d0d9079bb2076c1488b7d1117e0ddcde46574a2820719094f9b5/aiodine-1.2.4-py3-none-any.whl#sha256=9c1ff5d56358cf7b33409fa9d752b4589e508ac19bb3be72876a840d41835293 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.4
Found link https://files.pythonhosted.org/packages/3a/1c/c656b56defeb6624d19cfba99cb38ec959a2329e94e409dd4d584f68176e/aiodine-1.2.4.tar.gz#sha256=6e13c7d5003389c3f16afb69e88e54c04d6482f69a1ab36296afe89789936ef3 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.4
Found link https://files.pythonhosted.org/packages/9d/89/c440d32517d131bbe00295e220b0bf845f07625073e4fb3f691ad5499bad/aiodine-1.2.5-py3-none-any.whl#sha256=5c18dca9e5398e8dd0f9cbc728c00207de71e2d132c33005e38454f33fb5a82f (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.5
Found link https://files.pythonhosted.org/packages/9f/3e/9f9a1fc9dec825ecf8449c1acb4de098aaa9a7bc3a0ece805925332a3a2b/aiodine-1.2.5.tar.gz#sha256=7f58bdec4a33918c1f610f4491694cc6b547075f51c3a303077b722f777ca79d (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.5
Found link https://files.pythonhosted.org/packages/37/6c/c9342ab36ea5c5ba151db3715fa7135c203d2e0fbb8bcd2b4e74e680f36f/aiodine-1.2.6-py3-none-any.whl#sha256=eb692b622a0c6728b6325f488f758ff18e7274a651898934d7b2925980a23d58 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.6
Found link https://files.pythonhosted.org/packages/e5/d6/75bba785806161c517d667c88d66ee9789c1a737b6e1187e6342d12d5bbf/aiodine-1.2.6.tar.gz#sha256=dbc832aa68ca8e48d4156560358c7d98139399e52a8c5af6d45b8aa768722592 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.6
Found link https://files.pythonhosted.org/packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl#sha256=fe407da4146bc907b9ace2817f17fb52406cebca8806894fef8523306117a083 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.7
Found link https://files.pythonhosted.org/packages/31/16/2c07be38a6fb8a7899291bfd01161d4a4111914e8280f2dfa24c9f82a28e/aiodine-1.2.7.tar.gz#sha256=bbea3dd6c1bfa3c2ece07fe38102b636cdcbc58d678e2e848205cc6d0c4f9639 (from https://pypi.org/simple/aiodine/) (requires-python:>=3.6), version: 1.2.7
Using version 1.2.7 (newest of versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7)
Created temporary directory: /tmp/pip-unpack-3y8tq5qq
Looking up "https://files.pythonhosted.org/packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl" in the cache
No cache entry available
Starting new HTTPS connection (1): files.pythonhosted.org:443
Incremented Retry for (url='/packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl'): Retry(total=4, connect=None, read=None, redirect=None, status=None)
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')"))': /packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl
Starting new HTTPS connection (2): files.pythonhosted.org:443
Incremented Retry for (url='/packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl'): Retry(total=3, connect=None, read=None, redirect=None, status=None)
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')"))': /packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl
Starting new HTTPS connection (3): files.pythonhosted.org:443
Incremented Retry for (url='/packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')"))': /packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl
Starting new HTTPS connection (4): files.pythonhosted.org:443
Incremented Retry for (url='/packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')"))': /packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl
Starting new HTTPS connection (5): files.pythonhosted.org:443
Incremented Retry for (url='/packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')"))': /packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl
Starting new HTTPS connection (6): files.pythonhosted.org:443
Could not install packages due to an EnvironmentError.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py", line 444, in wrap_socket
cnx.do_handshake()
File "/usr/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1915, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1639, in _raise_ssl_error
raise SysCallError(errno, errorcode.get(errno))
OpenSSL.SSL.SysCallError: (104, 'ECONNRESET')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 849, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/connection.py", line 356, in connect
ssl_context=context)
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/util/ssl_.py", line 359, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py", line 450, in wrap_socket
raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(104, 'ECONNRESET')",)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/requests/adapters.py", line 445, in send
timeout=timeout
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 667, in urlopen
**response_kw)
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 667, in urlopen
**response_kw)
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 667, in urlopen
**response_kw)
[Previous line repeated 2 more times]
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/util/retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
pip._vendor.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl (Caused by SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')")))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 299, in run
resolver.resolve(requirement_set)
File "/usr/local/lib/python3.7/site-packages/pip/_internal/resolve.py", line 102, in resolve
self._resolve_one(requirement_set, req)
File "/usr/local/lib/python3.7/site-packages/pip/_internal/resolve.py", line 256, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/usr/local/lib/python3.7/site-packages/pip/_internal/resolve.py", line 209, in _get_abstract_dist_for
self.require_hashes
File "/usr/local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 283, in prepare_linked_requirement
progress_bar=self.progress_bar
File "/usr/local/lib/python3.7/site-packages/pip/_internal/download.py", line 836, in unpack_url
progress_bar=progress_bar
File "/usr/local/lib/python3.7/site-packages/pip/_internal/download.py", line 673, in unpack_http_url
progress_bar)
File "/usr/local/lib/python3.7/site-packages/pip/_internal/download.py", line 868, in _download_http_url
stream=True,
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/requests/sessions.py", line 525, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pip/_internal/download.py", line 396, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/requests/sessions.py", line 512, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/requests/sessions.py", line 622, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/cachecontrol/adapter.py", line 53, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/requests/adapters.py", line 511, in send
raise SSLError(e, request=request)
pip._vendor.requests.exceptions.SSLError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/42/d6/e3f2ec78538aeb4b2b0835eabd116910469099735c4eb1ff751f022d46a1/aiodine-1.2.7-py3-none-any.whl (Caused by SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')")))
Cleaning up...
Removed build tracker '/tmp/pip-req-tracker-x8zoe5yi'
1 location(s) to search for versions of pip:
* https://pypi.org/simple/pip/
Getting page https://pypi.org/simple/pip/
Looking up "https://pypi.org/simple/pip/" in the cache
Current age based on date: 605464
Freshness lifetime from max-age: 600
Freshness lifetime from request max-age: 600
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/pip/ HTTP/1.1" 304 0
Analyzing links from page https://pypi.org/simple/pip/
Looks like it was DNS problem. Sorry for bothering:)
I am getting below error:
"changed": true,
"cmd": "/usr/bin/pip2 install pymongo",
"delta": "0:00:08.593124",
"end": "2019-09-25 15:59:25.192909",
"invocation": {
"module_args": {
"_raw_params": "/usr/bin/pip2 install pymongo",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2019-09-25 15:59:16.599785",
"stderr": "DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support\n WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c25214e50>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymongo/\n WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c25214ad0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymongo/\n WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c25214fd0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymongo/\n WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c25214590>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymongo/\n WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c25214090>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymongo/\n ERROR: Could not find a version that satisfies the requirement pymongo (from versions: none)\nERROR: No matching distribution found for pymongo",
"stderr_lines": [
"DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support",
" WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c25214e50>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymongo/",
" WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c25214ad0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymongo/",
" WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c25214fd0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymongo/",
" WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c25214590>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymongo/",
" WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c25214090>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymongo/",
" ERROR: Could not find a version that satisfies the requirement pymongo (from versions: none)",
"ERROR: No matching distribution found for pymongo"
I have the same problem for other packages in pip.
When I ping to pypi.org it direct me to ipv6 site ip that is nice but not working:
Pinging pypi.org [2a04:4e42:200::223] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
My workaround was that my windows 10 will prefer ipv4 over ipv6
https://kb.firedaemon.com/support/solutions/articles/4000160803-prioritising-ipv4-over-ipv6-on-windows-10
Show current ipv6 prefer policy:
netsh interface ipv6 show prefixpolicies
Prefer ipv4 over ipv6 in windows 10
netsh interface ipv6 set prefixpolicy ::ffff:0:0/96 46 4
Please fix your ipv6 server that I can freely download packages from there. Please open the issue, it not fix yet.
Our CDN provider experienced a global incident this morning @talregev. https://status.python.org/incidents/b3mj9mhvnbkt
What time did the errors you're reporting occur?
It happen for me today, I cannot verify when it start because today I install new packages. I don't remember when I install the last one before.
Experiencing similar problem here. Trying to install python-dotenv using pip and here is the result:
pip install python-dotenv Collecting python-dotenv WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000029AE037BAF0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /packages/af/85/7433188f5811856dabe0c7bccc832a23c2fd49b48fc57373d9c10747a1ea/python_dotenv-0.19.1-py2.py3-none-any.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000029AE02F1F70>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /packages/af/85/7433188f5811856dabe0c7bccc832a23c2fd49b48fc57373d9c10747a1ea/python_dotenv-0.19.1-py2.py3-none-any.whl WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000029AE03A9760>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /packages/af/85/7433188f5811856dabe0c7bccc832a23c2fd49b48fc57373d9c10747a1ea/python_dotenv-0.19.1-py2.py3-none-any.whl WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000029AE03A9970>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /packages/af/85/7433188f5811856dabe0c7bccc832a23c2fd49b48fc57373d9c10747a1ea/python_dotenv-0.19.1-py2.py3-none-any.whl WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000029AE03A9B80>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /packages/af/85/7433188f5811856dabe0c7bccc832a23c2fd49b48fc57373d9c10747a1ea/python_dotenv-0.19.1-py2.py3-none-any.whl ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/af/85/7433188f5811856dabe0c7bccc832a23c2fd49b48fc57373d9c10747a1ea/python_dotenv-0.19.1-py2.py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x0000029AE03A9D90>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
@ewdurbin
@iamjavlon please open a new Network Access Issue at https://github.com/pypa/pypi-support/issues/new?assignees=&labels=network&template=access-issues.yml, ensuring that all requested information is provided.
Maybe it ipv6 problem. Can you do ping to: ping pypi.org And post the result here? if it ipv6, for me sometimes it doing some problem.
Hello. I'm getting more and more errors from pip on download files:
Attempt 1:
Attempt 2:
I used tox to create a venv to test oslo.messaging.
My Platform
My OS is Fedora 28. I live in France. My ISP is Orange. I have a DSL box.
Network telemetry
My IPv6 path to files.pythonhosted.org according to MTR:
(No packet loss)
DNS Resolution
Traceroutes
IPv4
IPv6 (If available)
HTTPS Requests
IPv4
IPv6 (If available)
TLS Debug
IPv4
IPv6 (If available)