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

Can't download from pypi/pip on Kali Linux #5145

Open
ItMeCorban opened this issue Nov 19, 2024 · 2 comments
Open

Can't download from pypi/pip on Kali Linux #5145

ItMeCorban opened this issue Nov 19, 2024 · 2 comments
Labels
network Issues related to our CDN, users having problems connecting to PyPI

Comments

@ItMeCorban
Copy link

Hi, I'm experience similar errors as seen in pypi/warehouse#3885

I went to create a Network Access Issue but it's just given me a blank issue template so will attempt to attach anything necessary below.

Dig

dig files.pythonhosted.org

; <<>> DiG 9.20.1-1-Debian <<>> files.pythonhosted.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1152
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;files.pythonhosted.org.                IN      A

;; ANSWER SECTION:
files.pythonhosted.org. 21853   IN      CNAME   dualstack.python.map.fastly.net.
dualstack.python.map.fastly.net. 12 IN  A       151.101.192.223
dualstack.python.map.fastly.net. 12 IN  A       151.101.0.223
dualstack.python.map.fastly.net. 12 IN  A       151.101.64.223
dualstack.python.map.fastly.net. 12 IN  A       151.101.128.223

;; Query time: 12 msec
;; SERVER: 9.9.9.9#53(9.9.9.9) (UDP)
;; WHEN: Tue Nov 19 10:22:48 GMT 2024
;; MSG SIZE  rcvd: 160

traceroute

traceroute files.pythonhosted.org
traceroute to files.pythonhosted.org (151.101.64.223), 30 hops max, 60 byte packets
 1  default-46-102-204-193.interdsl.co.uk (46.102.204.193)  1.847 ms  1.751 ms  1.672 ms
 2  lns5.thw.as51561.net (188.240.160.87)  7.864 ms  9.098 ms  10.110 ms
 3  po5.thw.as51561.net (188.240.160.132)  10.962 ms  11.689 ms  12.688 ms
 4  ae57-600.edge3.London15.Level3.net (212.187.142.177)  14.467 ms  14.377 ms  15.604 ms
 5  * * *

Curl

curl -vvv --ipv4 https://files.pythonhosted.org/
* Host files.pythonhosted.org:443 was resolved.
* IPv6: (none)
* IPv4: 151.101.0.223, 151.101.192.223, 151.101.128.223, 151.101.64.223
*   Trying 151.101.0.223:443...
* Connected to files.pythonhosted.org (151.101.0.223) port 443
* GnuTLS ciphers: NORMAL:-ARCFOUR-128:-CTYPE-ALL:+CTYPE-X509:-VERS-SSL3.0
* found 146 certificates in /etc/ssl/certs/ca-certificates.crt
* found 440 certificates in /etc/ssl/certs
* SSL connection timeout
* closing connection #0
curl: (28) SSL connection timeout

openssl

openssl s_client -connect files.pythonhosted.org:443
Connecting to 151.101.192.223
CONNECTED(00000003)

I can't easily provide the fastly debug as these machines don't have a desktop environment installed. I can provide the IP addresses etc that we're coming from - this is affecting 2 broadband lines from the same ISP each with a /29 block of IPs allocated, the issue is present regardless of the source IP. The issue isn't present on other lines we have from a different ISP.

It's possible our IPs have been flagged as malicious or suspicious as we are a pentesting comapany.

Hope that's enough info, please let me know if you need any other details

@di di transferred this issue from pypi/warehouse Nov 19, 2024
@di di added the network Issues related to our CDN, users having problems connecting to PyPI label Nov 19, 2024
@di
Copy link
Member

di commented Nov 19, 2024

Hi, just a sidenote, you are seeing a blank issue template here? https://github.com/pypi/support/issues/new?template=access-issues.yml

@ItMeCorban
Copy link
Author

Hi, just a sidenote, you are seeing a blank issue template here? https://github.com/pypi/support/issues/new?template=access-issues.yml

Strange... It loaded that time, had the template in the url before too but yeah just showed me the standard issues entry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
network Issues related to our CDN, users having problems connecting to PyPI
Projects
None yet
Development

No branches or pull requests

2 participants