-
Notifications
You must be signed in to change notification settings - Fork 3k
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 fails continuously on slow connections #13078
Comments
Are you able to try increasing the timeout significantly to help? e.g. |
Well, I'm reporting a crash, so I'd say it's a bug regardless. It's been a few days so I'm not on that connection any longer |
The error you're receiving is a socket timeout:
That's not a bug in pip, that's a network issue. The default timeout is 15 seconds, you can either pass |
It looks like the timeout is based not on incoming packets but the entire payload |
Not sure what you mean by payload, but the timeout isn't based on an entire file. Pip uses requests, which uses urllib3 to download, and as per the stacktrace this was an ssl socket timeout. Could be there is some default chunk size the timeout is based on. |
Description
Attempting to download a pip package via pip over a slow connection will reliably fail
Expected behavior
No response
pip version
24.3.1
Python version
3.13.0
OS
MacOS Ventura
How to Reproduce
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: