我目前正在尝试在python-3.4virtualenv中安装包,并且不断收到这些重试/TimeoutErrors。
(backend)root@XXXX:/var/virtualenvs# pip3 install -r backend-freeze.txt
Collecting cassandra-driver==2.7.2 (from -r backend-freeze.txt (line 1))
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4d7faf94a8>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/cassandra-driver/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4d7faf9588>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/cassandra-driver/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4d7faf9668>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/cassandra-driver/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4d7faf9748>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/cassandra-driver/不知道这是怎么回事。我没有使用代理(这似乎是其他有类似/相同错误经验的人的情况)。
发布于 2015-12-02 17:44:07
所以,我发现了这个问题。我不确定这是怎么发生的,但是有人在输入链中放了一行DROP all anywhere/anywhere iptables行。
我保证不是我干的,但是删除这行代码肯定解决了问题。现在来找出哪个员工认为这是个好主意。
https://stackoverflow.com/questions/34038946
复制相似问题