-
Notifications
You must be signed in to change notification settings - Fork 981
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
Pip Unable to Install - Gets a 'Network is Unreachable' error - IP Blacklisted? #3885
Comments
@vkaustubh thank you for the report. We don't currently have any firewalls or prohibited address lists blocking access to PyPI. Can you provide the following information: DNS resolutionFor PyPI and PyPI files hosting, using the unix command line tool dig pypi.org dig files.pythonhosted.org TLS debug informationFor PyPI and PyPI files hosting, using the openssl s_client -connect pypi.org:443 openssl s_client -connect files.pythonhosted.org:443 |
@vkaustubh also any log/debug output from |
I'm facing the same issue. When I try to install anything from machine using The issues however gets resolved when I use a VPN hosted in another country, like UK. The pip install verbose log from my machine:
Also, worth noting that services like |
@v1k45 can you provide dig/tls debug command output from my earlier comment? |
DNS Resolution:
--
$ dig pypi.org
; <<>> DiG 9.10.3-P4-Debian <<>> pypi.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56593
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 6, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;pypi.org. IN A
;; ANSWER SECTION:
pypi.org. 8 IN A 151.101.64.223
pypi.org. 8 IN A 151.101.128.223
pypi.org. 8 IN A 151.101.192.223
pypi.org. 8 IN A 151.101.0.223
;; AUTHORITY SECTION:
org. 129901 IN NS a2.org.afilias-nst.info.
org. 129901 IN NS b0.org.afilias-nst.org.
org. 129901 IN NS b2.org.afilias-nst.org.
org. 129901 IN NS c0.org.afilias-nst.info.
org. 129901 IN NS d0.org.afilias-nst.org.
org. 129901 IN NS a0.org.afilias-nst.info.
;; Query time: 5 msec
;; SERVER: 192.168.17.5#53(192.168.17.5)
;; WHEN: Thu May 03 17:09:20 IST 2018
;; MSG SIZE rcvd: 239
--
dig files.pythonhosted.org
; <<>> DiG 9.10.3-P4-Debian <<>> files.pythonhosted.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62057
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 4, ADDITIONAL: 5
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;files.pythonhosted.org. IN A
;; ANSWER SECTION:
files.pythonhosted.org. 37 IN CNAME
dualstack.r.ssl.global.fastly.net.
dualstack.r.ssl.global.fastly.net. 29 IN A 151.101.129.63
dualstack.r.ssl.global.fastly.net. 29 IN A 151.101.193.63
dualstack.r.ssl.global.fastly.net. 29 IN A 151.101.1.63
dualstack.r.ssl.global.fastly.net. 29 IN A 151.101.65.63
;; AUTHORITY SECTION:
fastly.net. 131803 IN NS ns2.fastly.net.
fastly.net. 131803 IN NS ns3.fastly.net.
fastly.net. 131803 IN NS ns4.fastly.net.
fastly.net. 131803 IN NS ns1.fastly.net.
;; ADDITIONAL SECTION:
ns1.fastly.net. 565 IN A 23.235.32.32
ns2.fastly.net. 30 IN A 104.156.80.32
ns3.fastly.net. 1836 IN A 23.235.36.32
ns4.fastly.net. 2146 IN A 104.156.84.32
;; Query time: 327 msec
;; SERVER: 192.168.17.5#53(192.168.17.5)
;; WHEN: Thu May 03 17:10:25 IST 2018
;; MSG SIZE rcvd: 298
…--
TLS Debug Information:
--
openssl s_client -connect pypi.org:443
CONNECTED(00000003)
depth=2 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert High
Assurance EV Root CA
verify return:1
depth=1 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert SHA2
Extended Validation Server CA
verify return:1
depth=0 businessCategory = Private Organization, jurisdictionC = US,
jurisdictionST = Delaware, serialNumber = 3359300, C = US, ST = New
Hampshire, L = Wolfeboro, O = Python Software Foundation, CN =
www.python.org
verify return:1
---
Certificate chain
0 s:/businessCategory=Private
Organization/jurisdictionC=US/jurisdictionST=Delaware/serialNumber=3359300/C=US/ST=New
Hampshire/L=Wolfeboro/O=Python Software Foundation/CN=www.python.org
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended
Validation Server CA
1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended
Validation Server CA
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV
Root CA
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIH9zCCBt+gAwIBAgIQDEqEI45zRFWbuE0eDzGIgzANBgkqhkiG9w0BAQsFADB1
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
d3cuZGlnaWNlcnQuY29tMTQwMgYDVQQDEytEaWdpQ2VydCBTSEEyIEV4dGVuZGVk
IFZhbGlkYXRpb24gU2VydmVyIENBMB4XDTE4MDMyODAwMDAwMFoXDTE4MDkyNzEy
MDAwMFowgdgxHTAbBgNVBA8MFFByaXZhdGUgT3JnYW5pemF0aW9uMRMwEQYLKwYB
BAGCNzwCAQMTAlVTMRkwFwYLKwYBBAGCNzwCAQITCERlbGF3YXJlMRAwDgYDVQQF
EwczMzU5MzAwMQswCQYDVQQGEwJVUzEWMBQGA1UECBMNTmV3IEhhbXBzaGlyZTES
MBAGA1UEBxMJV29sZmVib3JvMSMwIQYDVQQKExpQeXRob24gU29mdHdhcmUgRm91
bmRhdGlvbjEXMBUGA1UEAxMOd3d3LnB5dGhvbi5vcmcwggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQDB1LZG1YgdWTuFFzVTgBk8HYSupyva2VqB9E3NbGBC
Ys5UPHzAl+aoiV6+by9kTEyFuV6GWOm3Lmtm9MRgCbEyKOC8du4nys2iA7Po24XR
BgZT0dGoLR8b7+DUFwYTaFGFfCsJu+t02buVfeDmfh3DVRtmYvhkSff2/mZLQUDf
bB+AyDauW5jKNpTK3HEAz6VapUxNfFJ5b4dEDS3KwUw28nl7UKny2T92nge9pOtc
HVr1biJEZualZKrdRdf96soss93l2o43Ve3qnS4Bu5obPNq+Sxbr6mlTF2zpZ3Wq
n7NjODIclJIanv6R6JXUP1xYYbzm5NF3K/DcBORuW9fhAgMBAAGjggQdMIIEGTAf
BgNVHSMEGDAWgBQ901Cl1qCt7vNKYApl0yHU+PjWDzAdBgNVHQ4EFgQUaQEj0/XI
KYyyrLVN9NnYEA2n5ZAwggFCBgNVHREEggE5MIIBNYIOd3d3LnB5dGhvbi5vcmeC
D2RvY3MucHl0aG9uLm9yZ4IPYnVncy5weXRob24ub3Jngg93aWtpLnB5dGhvbi5v
cmeCDWhnLnB5dGhvbi5vcmeCD21haWwucHl0aG9uLm9yZ4IPcHlwaS5weXRob24u
b3JnghRwYWNrYWdpbmcucHl0aG9uLm9yZ4IQbG9naW4ucHl0aG9uLm9yZ4ISZGlz
Y3Vzcy5weXRob24ub3Jnggx1cy5weWNvbi5vcmeCB3B5cGkuaW+CDGRvY3MucHlw
aS5pb4IIcHlwaS5vcmeCDWRvY3MucHlwaS5vcmeCD2RvbmF0ZS5weXBpLm9yZ4IT
ZGV2Z3VpZGUucHl0aG9uLm9yZ4ITd3d3LmJ1Z3MucHl0aG9uLm9yZ4IKcHl0aG9u
Lm9yZzAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUF
BwMCMHUGA1UdHwRuMGwwNKAyoDCGLmh0dHA6Ly9jcmwzLmRpZ2ljZXJ0LmNvbS9z
aGEyLWV2LXNlcnZlci1nMi5jcmwwNKAyoDCGLmh0dHA6Ly9jcmw0LmRpZ2ljZXJ0
LmNvbS9zaGEyLWV2LXNlcnZlci1nMi5jcmwwSwYDVR0gBEQwQjA3BglghkgBhv1s
AgEwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cuZGlnaWNlcnQuY29tL0NQUzAH
BgVngQwBATCBiAYIKwYBBQUHAQEEfDB6MCQGCCsGAQUFBzABhhhodHRwOi8vb2Nz
cC5kaWdpY2VydC5jb20wUgYIKwYBBQUHMAKGRmh0dHA6Ly9jYWNlcnRzLmRpZ2lj
ZXJ0LmNvbS9EaWdpQ2VydFNIQTJFeHRlbmRlZFZhbGlkYXRpb25TZXJ2ZXJDQS5j
cnQwDAYDVR0TAQH/BAIwADCCAQMGCisGAQQB1nkCBAIEgfQEgfEA7wB2ALvZ37wf
inG1k5Qjl6qSe0c4V5UKq1LoGpCWZDaOHtGFAAABYm2XOKQAAAQDAEcwRQIhAP8A
JukLZLaIMulwFxQHFGoreXVLx397sDgl+XPt8y6oAiBBnYbAzjXczq6hoBuqSkes
YCJ/h5uuNw/tu8OU8csbbQB1AFYUBpov18Ls0/XhvUSyPsdGdrm8mRFcwO+UmFXW
idDdAAABYm2XOKEAAAQDAEYwRAIgJXNv6y7sMRPITc3/ntSX5VIY7RPtq9y1tZhM
adthbjgCICLiyFxrsiRqUUeeBGNvte7YB4VJLhbEnahdkzkmKXBRMA0GCSqGSIb3
DQEBCwUAA4IBAQBawAzb80VNpXwfSiUqxN1QxrV5/dNfrrdnyOHGNwyucSI8k2pK
5VPkSvdCvKn+nSQ3dfpLy8w4kdDW8H4uuO5XwoIBhKyPQSypVe+Rfy7VhNhdwYX/
fhSkmQZCyCRmvkEStJ/gFr0C66INZNXmN+89nsDr+Omqd5U7JPbaJ1xOFFv2uF37
KR/9v04l7k0Ob4KkUj58Ya3Up9risok7hkCcyOtEM9mA9XQ14zhmqOXk+yPL98kB
rgypeNHNsPRv1woG60+M5kRN+yUAuYRS+6EJvvmL74+ZRFjZ1Ww9z/nqopcUpG+3
OVtSWCKzwcEQkezlB5p9dzKIQ/1oiZSAZo39
-----END CERTIFICATE-----
subject=/businessCategory=Private
Organization/jurisdictionC=US/jurisdictionST=Delaware/serialNumber=3359300/C=US/ST=New
Hampshire/L=Wolfeboro/O=Python Software Foundation/CN=www.python.org
issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended
Validation Server CA
---
No client certificate CA names sent
Peer signing digest: SHA512
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 3881 bytes and written 269 bytes
Verification: OK
---
New, TLSv1.2, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES128-GCM-SHA256
Session-ID:
A8520AA07895AC08A12269631A958D6845DDB6AF107A50CB5EEBB3D7F34DF7DB
Session-ID-ctx:
Master-Key:
42752C2173E28B4D6B087B770E7ADC29E067703AAC900C8643A86100FCC34FBA0731B8CEFF8E2E11A0B96E757EF0C4E0
PSK identity: None
PSK identity hint: None
SRP username: None
TLS session ticket lifetime hint: 7200 (seconds)
TLS session ticket:
0000 - fd e8 4d 37 4a 88 d0 b4-a0 5f ac 46 d4 69 7a c1
..M7J...._.F.iz.
0010 - 54 05 61 8b 21 30 c1 92-3a f6 2c 0d 6b ca 69 5d
T.a.!0..:.,.k.i]
0020 - 0a 8a 00 f4 64 f3 64 b9-c3 69 b9 92 53 d1 5f eb
....d.d..i..S._.
0030 - 8a 88 bc 76 8c 44 84 74-8c d8 ee 65 01 9d 85 af
...v.D.t...e....
0040 - eb 8c 82 f1 a6 39 13 7c-39 fc a2 1f 54 bd 2f 1e
.....9.|9...T./.
0050 - 9c 16 17 25 d8 d9 44 9f-cc 41 fb 59 6c 87 20 32 ...%..D..A.Yl.
2
0060 - 2f 74 62 20 14 71 e7 7a-2a 07 dc 52 bf 30 52 1e /tb
.q.z*..R.0R.
0070 - 15 83 ca ac 0a dd de f0-44 ce d5 4a b2 89 29 80
........D..J..).
0080 - f0 e1 63 b8 ec d4 03 39-6e ce b5 ae 89 49 a2 d7
..c....9n....I..
0090 - 36 47 aa 29 8d 51 64 47-3c 09 6d cd 49 79 00 6e
6G.).QdG<.m.Iy.n
Start Time: 1525347678
Timeout : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: yes
---
$ openssl s_client -connect files.pythonhosted.org:443
(No output from this command despite waiting for a while.)
---
$ pip install -vvv flask
Collecting flask
1 location(s) to search for versions of flask:
* https://pypi.python.org/simple/flask/
Getting page https://pypi.python.org/simple/flask/
Looking up "https://pypi.python.org/simple/flask/" in the cache
Returning cached "301 Moved Permanently" response (ignoring date and etag
information)
Looking up "https://pypi.org/simple/flask/" in the cache
Current age based on date: 289
Freshness lifetime from max-age: 600
Freshness lifetime from request max-age: 600
The response is "fresh", returning cached response
600 > 289
Analyzing links from page https://pypi.org/simple/flask/
Found link
https://files.pythonhosted.org/packages/6e/49/43b514bfdaf4af12e6ef1f17aa25447157bcbb864c07775dacd72e8c8e02/Flask-0.1.tar.gz#sha256=9da884457e910bf0847d396cb4b778ad9f3c3d17db1c5997cb861937bd284237
(from https://pypi.org/simple/flask/), version: 0.1
Found link
https://files.pythonhosted.org/packages/9a/db/245abc92428bcdfdc32d8017ddd1b079afffce9c74f94e34d1aa777bc771/Flask-0.2.tar.gz#sha256=2f992b8081cc6091a29b2b5f65d56433857320889c733da837e75b51c7d1b743
(from https://pypi.org/simple/flask/), version: 0.2
Found link
https://files.pythonhosted.org/packages/8b/cb/706dbb37f4ef3a75366c9e715f41d22e73ca4594303f48d229d906c80632/Flask-0.3.tar.gz#sha256=943ffb10abcc6fef6c3fbcc04f3be81cc6caa598ee7469d446f52d18bee1160f
(from https://pypi.org/simple/flask/), version: 0.3
Found link
https://files.pythonhosted.org/packages/e0/d7/4de91ad9fc1854e651cf03f87eff939a92cd06716645dee86b0382674ea3/Flask-0.3.1.tar.gz#sha256=7d80bc18748e4243e389cf1cac50d24b74a39b631dd5176525f10dad01ebae1d
(from https://pypi.org/simple/flask/), version: 0.3.1
Found link
https://files.pythonhosted.org/packages/a3/89/a4bf29e78a87e11f0f6fdd4d9e02a0aece1eecd38118496da58d4826d7e3/Flask-0.4.tar.gz#sha256=4fc67fa570801209413fbd649e85e435bd3441a19d2d5cbebe7e44f33094940f
(from https://pypi.org/simple/flask/), version: 0.4
Found link
https://files.pythonhosted.org/packages/d4/6a/93500f2a7089b4e993fb095215979890b6204a5ba3f6b0f63dc6c3c6c827/Flask-0.5.tar.gz#sha256=20e176b1db0e2bfe92d869f7b5d0ee3e5d6cb60e793755aaf2284bd78a6202ea
(from https://pypi.org/simple/flask/), version: 0.5
Found link
https://files.pythonhosted.org/packages/16/a6/c458d3305e689d7e06a23eacee414ea10d870074a7673864ffea67109f9d/Flask-0.5.1.tar.gz#sha256=09a90f9678e2ffdefd2848d6c6a5d6476d675bef874cfd0f06c7608b99682e1d
(from https://pypi.org/simple/flask/), version: 0.5.1
Found link
https://files.pythonhosted.org/packages/1c/b5/03c412ba48148e6c222e238201a0924360a85d755ce9597acbd99a1a6240/Flask-0.5.2.tar.gz#sha256=7a78e498cb9cdb104429ed2ff8823b8a4dd10db32ff9a20bb3ef3132a3885e8d
(from https://pypi.org/simple/flask/), version: 0.5.2
Found link
https://files.pythonhosted.org/packages/44/86/481371798994529e105633a50b2332638105a1e191053bc0f4bbc9b91791/Flask-0.6.tar.gz#sha256=9dc18a7c673bf0a6fada51e011fc411285a8301f6dfc1c000ebfa272b5e609e4
(from https://pypi.org/simple/flask/), version: 0.6
Found link
https://files.pythonhosted.org/packages/8f/1c/453a427f55b91239b3368c8b975b55d089d5d79dc37545af41cd7157c187/Flask-0.6.1.tar.gz#sha256=fe0e31bf71a1fc1d2e0786052855c94cd9ee43546d3e15ff98ccee0c5bc21f70
(from https://pypi.org/simple/flask/), version: 0.6.1
Found link
https://files.pythonhosted.org/packages/43/08/e4907533c6ca0ebb1867182fa94b1ffa41fa3aba5f6cb4969e108262e92b/Flask-0.7.tar.gz#sha256=ab377ff4113d76d7dd3496c05716ff7a7a7b9e492460e775991e9addc271ba16
(from https://pypi.org/simple/flask/), version: 0.7
Found link
https://files.pythonhosted.org/packages/fe/3e/ad5eb51d4666e76f389cd4f9c6cc22e1544e0daf72419ccab8705e918911/Flask-0.7.1.tar.gz#sha256=7a60e179884b1037ca6182639659f819a0b89675a0cc02d7d9cd21819bfa8d3f
(from https://pypi.org/simple/flask/), version: 0.7.1
Found link
https://files.pythonhosted.org/packages/1c/c7/a361d00f4c9ed3f1b7ab77976e820ca347f3b0aec4dee6c66fe5c5a2124d/Flask-0.7.2.tar.gz#sha256=95fb72b7f2b0ccc68757fc03f7ae559d9fb8814fa5ddbfa27ae2a6d9b1e3f8cb
(from https://pypi.org/simple/flask/), version: 0.7.2
Found link
https://files.pythonhosted.org/packages/f0/84/e3c207a6aad1acfdfe1eda20abeadff47035f24820f09ac6870f9c8a26a3/Flask-0.8.tar.gz#sha256=937504fc2ae59c44f2181be139733190ed98c51a00adbb6013873692e90b06c9
(from https://pypi.org/simple/flask/), version: 0.8
Found link
https://files.pythonhosted.org/packages/20/5d/f355d122c9d7a45d7846449f94b9f1d26df88556f705f14dd84a8fa264ea/Flask-0.8.1.tar.gz#sha256=f3fcaca39ab1ebd9e6e7def0928bf9f280cafb3f90a6e1c70420e9c1c25b8b6e
(from https://pypi.org/simple/flask/), version: 0.8.1
Found link
https://files.pythonhosted.org/packages/49/0a/fe5021b35436202d3d4225a766f3bdc7fb51521ad89e73c5162db36cdbc7/Flask-0.9.tar.gz#sha256=2fd5d4ffe81f762dd2a3e58472d690a0dbba3766776506003aee3ed7aaa8afef
(from https://pypi.org/simple/flask/), version: 0.9
Found link
https://files.pythonhosted.org/packages/f3/46/53d83cbdb79b27678c7b032d5deaa556655dd034cc747ee609b3e3cbf95b/Flask-0.10.tar.gz#sha256=84b3b352c3d6b888ee56c645d83a3b54a86fab6236be3d44fd55a275f2c8b207
(from https://pypi.org/simple/flask/), version: 0.10
Found link
https://files.pythonhosted.org/packages/db/9c/149ba60c47d107f85fe52564133348458f093dd5e6b57a5b60ab9ac517bb/Flask-0.10.1.tar.gz#sha256=4c83829ff83d408b5e1d4995472265411d2c414112298f2eb4b359d9e4563373
(from https://pypi.org/simple/flask/), version: 0.10.1
Found link
https://files.pythonhosted.org/packages/ac/0b/191c5dc6b3e22dfacb8e1eba2bb8dc211c16972b23a0b419f8a33b3deb71/Flask-0.11-py2.py3-none-any.whl#sha256=6b221aef9684a92209628c8ffeba35fc60a0c89e4424662809e7da6035f257a7
(from https://pypi.org/simple/flask/), version: 0.11
Found link
https://files.pythonhosted.org/packages/dc/ca/c0ed9cc90c079085c698e284b672edbc1ffd6866b1830574095cbc5b7752/Flask-0.11.tar.gz#sha256=29a7405a7f0de178232fe48cd9b2a2403083bf03bd34eabe12168863d4cdb493
(from https://pypi.org/simple/flask/), version: 0.11
Found link
https://files.pythonhosted.org/packages/63/2b/01f5ed23a78391f6e3e73075973da0ecb467c831376a0b09c0ec5afd7977/Flask-0.11.1-py2.py3-none-any.whl#sha256=a4f97abd30d289e548434ef42317a793f58087be1989eab96f2c647470e77000
(from https://pypi.org/simple/flask/), version: 0.11.1
Found link
https://files.pythonhosted.org/packages/55/8a/78e165d30f0c8bb5d57c429a30ee5749825ed461ad6c959688872643ffb3/Flask-0.11.1.tar.gz#sha256=b4713f2bfb9ebc2966b8a49903ae0d3984781d5c878591cf2f7b484d28756b0e
(from https://pypi.org/simple/flask/), version: 0.11.1
Found link
https://files.pythonhosted.org/packages/0e/e9/37ee66dde483dceefe45bb5e92b387f990d4f097df40c400cf816dcebaa4/Flask-0.12-py2.py3-none-any.whl#sha256=7f03bb2c255452444f7265eddb51601806e5447b6f8a2d50bbc77a654a14c118
(from https://pypi.org/simple/flask/), version: 0.12
Found link
https://files.pythonhosted.org/packages/4b/3a/4c20183df155dd2e39168e35d53a388efb384a512ca6c73001d8292c094a/Flask-0.12.tar.gz#sha256=93e803cdbe326a61ebd5c5d353959397c85f829bec610d59cb635c9f97d7ca8b
(from https://pypi.org/simple/flask/), version: 0.12
Found link
https://files.pythonhosted.org/packages/f4/43/fb2d5fb1d10e1d0402dd57836cf9a78b7f69c8b5f76a04b6e6113d0d7c5a/Flask-0.12.1-py2.py3-none-any.whl#sha256=6c3130c8927109a08225993e4e503de4ac4f2678678ae211b33b519c622a7242
(from https://pypi.org/simple/flask/), version: 0.12.1
Found link
https://files.pythonhosted.org/packages/24/6e/11b9c57e46f276a8a8dfda85a2fa7ada62b0463b68693616c7ab5df356fa/Flask-0.12.1.tar.gz#sha256=9dce4b6bfbb5b062181d3f7da8f727ff70c1156cbb4024351eafd426deb5fb88
(from https://pypi.org/simple/flask/), version: 0.12.1
Found link
https://files.pythonhosted.org/packages/77/32/e3597cb19ffffe724ad4bf0beca4153419918e7fa4ba6a34b04ee4da3371/Flask-0.12.2-py2.py3-none-any.whl#sha256=0749df235e3ff61ac108f69ac178c9770caeaccad2509cb762ce1f65570a8856
(from https://pypi.org/simple/flask/), version: 0.12.2
Found link
https://files.pythonhosted.org/packages/eb/12/1c7bd06fcbd08ba544f25bf2c6612e305a70ea51ca0eda8007344ec3f123/Flask-0.12.2.tar.gz#sha256=49f44461237b69ecd901cc7ce66feea0319b9158743dd27a2899962ab214dac1
(from https://pypi.org/simple/flask/), version: 0.12.2
Found link
https://files.pythonhosted.org/packages/24/3e/1b6aa496fa9bb119f6b22263ca5ca9e826aaa132431fd78f413c8bcc18e3/Flask-0.12.3-py2.py3-none-any.whl#sha256=74bb782687731332b86aa8ab0817be14c9e63e5fa837934de8be4f9236d6d0d2
(from https://pypi.org/simple/flask/), version: 0.12.3
Found link
https://files.pythonhosted.org/packages/80/84/ddf5d2141e84f71ba184ea58b3d9b9caaee9cc49ca0303051ac02381791c/Flask-0.12.3.tar.gz#sha256=0f431076a50908f0484dcddd0f2fd0241129ef9ca1876799b3ebe14d823f60de
(from https://pypi.org/simple/flask/), version: 0.12.3
Found link
https://files.pythonhosted.org/packages/2e/48/f1936dadac2326b3d73f2fe0a964a87d16be16eb9d7fc56f09c1bea3d17c/Flask-0.12.4-py2.py3-none-any.whl#sha256=6c02dbaa5a9ef790d8219bdced392e2d549c10cd5a5ba4b6aa65126b2271af29
(from https://pypi.org/simple/flask/), version: 0.12.4
Found link
https://files.pythonhosted.org/packages/1b/72/ffc594a6832337ace475f939e61c34a44cbb150cde9589f98c482b407dd8/Flask-0.12.4.tar.gz#sha256=2ea22336f6d388b4b242bc3abf8a01244a8aa3e236e7407469ef78c16ba355dd
(from https://pypi.org/simple/flask/), version: 0.12.4
Found link
https://files.pythonhosted.org/packages/55/b1/4365193655df97227ace49311365cc296e74b60c7f5c63d23cd30175e2f6/Flask-1.0-py2.py3-none-any.whl#sha256=b1883637bbee4dc7bc98d900792d0a304d609fce0f5bd9ca91d1b6457e5918dd
(from https://pypi.org/simple/flask/), version: 1.0
Found link
https://files.pythonhosted.org/packages/99/ab/eedb921f26adf7057ade1291f9c1bfa35a506d64894f58546457ef658772/Flask-1.0.tar.gz#sha256=7fab1062d11dd0038434e790d18c5b9133fd9e6b7257d707c4578ccc1e38b67c
(from https://pypi.org/simple/flask/), version: 1.0
Found link
https://files.pythonhosted.org/packages/90/72/b5ed853418364d8e7006550dbdb2cb9ac3e33ce3c9145acc7898fca8c0b6/Flask-1.0.1-py2.py3-none-any.whl#sha256=dbe2a9f539f4d0fe26fa44c08d6e556e2a4a4dd3a3fb0550f39954cf57571363
(from https://pypi.org/simple/flask/), version: 1.0.1
Found link
https://files.pythonhosted.org/packages/6d/2f/95a73db56fa2c2b3187bb69783cb2bea4327d1e7b2e0cf60e15df59502ee/Flask-1.0.1.tar.gz#sha256=cfc15b45622f9cfee6b5803723070fd0f489b3bd662179195e702cb95fd924c8
(from https://pypi.org/simple/flask/), version: 1.0.1
Found link
https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl#sha256=a080b744b7e345ccfcbc77954861cb05b3c63786e93f2b3875e0913d44b43f05
(from https://pypi.org/simple/flask/), version: 1.0.2
Found link
https://files.pythonhosted.org/packages/4b/12/c1fbf4971fda0e4de05565694c9f0c92646223cff53f15b6eb248a310a62/Flask-1.0.2.tar.gz#sha256=2271c0070dbcb5275fad4a82e29f23ab92682dc45f9dfbc22c02ba9b9322ce48
(from https://pypi.org/simple/flask/), version: 1.0.2
Using version 1.0.2 (newest of versions: 0.1, 0.2, 0.3, 0.3.1, 0.4, 0.5,
0.5.1, 0.5.2, 0.6, 0.6.1, 0.7, 0.7.1, 0.7.2, 0.8, 0.8.1, 0.9, 0.10, 0.10.1,
0.11, 0.11.1, 0.12, 0.12.1, 0.12.2, 0.12.3, 0.12.4, 1.0, 1.0.1, 1.0.2)
Looking up "
https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl"
in the cache
No cache entry available
Starting new HTTPS connection (1): files.pythonhosted.org
Incremented Retry for
(url='/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl'):
Retry(total=4, connect=None, read=None, redirect=None)
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after
connection broken by
'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
object at 0x7f2e007de4a8>: Failed to establish a new connection: [Errno
101] Network is unreachable',)':
/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl
Starting new HTTPS connection (2): files.pythonhosted.org
...
...
Hope this helps.
On Thu, May 3, 2018 at 5:02 PM, Ernest W. Durbin III < ***@***.***> wrote:
@vkaustubh <https://github.com/vkaustubh> thank you for the report.
We don't currently have any firewalls or prohibited address lists blocking
access to PyPI.
Can you provide the following information:
DNS resolution
For PyPI and PyPI files hosting, using the unix command line tool dig or
similar:
dig pypi.org
dig files.pythonhosted.org
TLS debug information
For PyPI and PyPI files hosting, using the openssl tool:
openssl s_client -connect pypi.org:443
openssl s_client -connect files.pythonhosted.org:443
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3885 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF6vZDrlnlQyP9zryqiKFVh2-EY-7H--ks5tuurbgaJpZM4Tw0bJ>
.
|
Sure, here you go: dig
openssl
Request to pythonhosted.org never completed.
The download links at pypi.org don't work too. The links show connection error as soon as I click them. |
The openssl command to files.pythonhosted.org finally came out with a
response:
--
$ openssl s_client -connect files.pythonhosted.org:443
140326059208896:error:2008A067:BIO routines:BIO_connect:connect
error:../crypto/bio/b_sock2.c:109:
140326059208896:error:02002071:system library:connect:No route to
host:../crypto/bio/b_sock2.c:108:
140326059208896:error:2008A067:BIO routines:BIO_connect:connect
error:../crypto/bio/b_sock2.c:109:
140326059208896:error:02002071:system library:connect:No route to
host:../crypto/bio/b_sock2.c:108:
140326059208896:error:2008A067:BIO routines:BIO_connect:connect
error:../crypto/bio/b_sock2.c:109:
140326059208896:error:0200206F:system library:connect:Connection
refused:../crypto/bio/b_sock2.c:108:
140326059208896:error:2008A067:BIO routines:BIO_connect:connect
error:../crypto/bio/b_sock2.c:109:
140326059208896:error:02002065:system library:connect:Network is
unreachable:../crypto/bio/b_sock2.c:108:
140326059208896:error:2008A067:BIO routines:BIO_connect:connect
error:../crypto/bio/b_sock2.c:109:
140326059208896:error:02002065:system library:connect:Network is
unreachable:../crypto/bio/b_sock2.c:108:
140326059208896:error:2008A067:BIO routines:BIO_connect:connect
error:../crypto/bio/b_sock2.c:109:
140326059208896:error:02002065:system library:connect:Network is
unreachable:../crypto/bio/b_sock2.c:108:
140326059208896:error:2008A067:BIO routines:BIO_connect:connect
error:../crypto/bio/b_sock2.c:109:
140326059208896:error:02002065:system library:connect:Network is
unreachable:../crypto/bio/b_sock2.c:108:
140326059208896:error:2008A067:BIO routines:BIO_connect:connect
error:../crypto/bio/b_sock2.c:109:
connect:errno=101
--
|
@vkaustubh @v1k45 Can you please try the following commands and provide the results?
|
@ewdurbin here you go:
|
curl -vvv --ipv6 https://files.pythonhosted.org/
|
@samriddhigoswami @v1k45 @vkaustubh Just for debugging purposes, can someone experiencing this issue try:
Edit: Command output no longer desired. :) |
@ewdurbin : Please find below the output: Maintainer Edit, EWDurbin: Response to extraneous output (my bad) removed. |
I corrected the command: Maintainer Edit, EWDurbin: Response to extraneous output (my bad) removed. |
@v1k45 thank you, sorry for giving wrong command. I've updated the initial comment. |
I'm facing the exact same problem, and the exact same responses to the commands as @v1k45 |
Okay! Thanks everyone for the debug output. I'm stumped here. Best guess right now is that ISPs are blocking access to the addresses These addresses are shared with numerous other customers of the CDN we use and it's possible ISPs are attempting to block access to one of those. I've opened a support ticket with our CDN provider. If possible please email me with your public IP address. Send the output of
and
to [redacted] (If you are experiencing problems and came to this issue, please file a new Network Access Issue) |
@ewdurbin : Output from my command prompt- Maintainer Edit, EWDurbin: Response to extraneous output (my bad) removed. |
Thanks for the output folks. I'm going to go back and tidy up responses to reduce noise here. Some comments may be edited to redact extraneous or no longer necessary output. |
@samriddhigoswami @rep-movsd @v1k45 @vkaustubh Can you send the text output generated by https://www.fastly-debug.com to [redacted] (If you are experiencing problems and came to this issue, please file a new Network Access Issue)? It looks like this once the diagnostic is complete: |
Unfortunately you'll need to run this from a browser that's experiencing issues reaching files.pythonhosted.org, as there doesn't seem to be a command line version. |
Seems like a google DNS issue |
Okay, that bit of information was very helpful @rep-movsd! Because GoogleDNS and similarly OpenDNS don't allow for responses for localized Points of Presence, the response will get the Anycast IPs for our service. I'm able to reproduce with a DigitalOcean droplet in Bangalore, IN. I've supplied trace routes and other diagnostics requested to our CDN provider and will update when we have more information. |
It appears that the Anycast IP issues may have been resolved. I'm unable to reproduce from my test droplet. |
If you are currently experiencing issues. Please email a link to a gist with the following content to [redacted] (If you are experiencing problems and came to this issue, please file a new Network Access Issue)
Please do not paste the output in line with your response, Please create a gist at https://gist.github.com and email the link to [redacted] (If you are experiencing problems and came to this issue, please file a new Network Access Issue) |
CDN provider has reported that they rolled out some changes to their network which may help. Can any earlier reporters of issues respond if access is restored? |
The issue seems to have fixed at my end. pip installs are working as expected. files.pythonhosted.org is also accessible. |
Sounds like Fastly is aware of issues in the region and has resolved them and is working on a more permanent fix. Closing this. Thanks to everyone for contributing in assisting to diagnose, I'm going to take the template for reporting networking issues above and get it into an issue template for now! What we learned together will be of great help in the future! |
we are seeing network issues from Google Cloud Mumbai data center. pip installs are failing and pings are timing out https://gist.github.com/sandys/6346ca9b972fb1824a11f1516b706195 |
Same here ,from Google cloud in US datacenters, changed the /etc/resolv.confg to 4.2.2.1 and it works |
we had to hardcode hosts address in our docker builds
|
@di Thanks for letting us know, seems like it works fine now, |
Is good |
IP v6 connections to
|
@sochoa I can't reproduce:
Can you file a new Network Access Issue? |
Anyone else arriving at this issue: These errors are sometimes transient. If you're experiencing this, please file a new Network Access Issue. |
Hi.
We have been facing a unique issue since a few days. Here, by we, I am referring to the members of the institute where I work. An attempt to install any package from pip does not seem to work. We get a "Network is unreachable" error. This error does not happen when we do this using our personal networks not related to our campus network.
Our first suspicion obviously was the firewall. If I understand correctly, 443 port is the only port needed for pip/PyPI to actually work. We have checked that this port is open. We do not use any proxy to connect to the Internet either. Yet we are getting this error.
Running wget on the PyPI link does not work either. Neither does accessing the directories and files from within a browser. We are not experiencing this problem in case of other sites as far as we can see.
Work is on in tandem with our ISP and firewall solutions provider to see what else could explain this phenomenon. But we are at a loss. One of us came up with a theory that there might some firewall or security system at the PyPI end which for some reason has blocked our public IP address. I write this to confirm whether the servers at PyPI do this. If yes, who can I contact to follow up and ensure that this can be reverted?
Thanks in advance.
The text was updated successfully, but these errors were encountered: