# WARNING: Retrying (Retry(total=4, ...)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/numpy/

- **ID:** `python/pip-download-failed-connection-reset`
- **Domain:** python
- **Category:** network_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

A network middlebox, proxy, or rate limiter is resetting the TCP connection during large index downloads.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **** (85% success)
   ```
   pip install --retries 10 --timeout 60 --index-url https://pypi.tuna.tsinghua.edu.cn/simple numpy
   ```
2. **** (90% success)
   ```
   curl -L -O https://files.pythonhosted.org/packages/.../numpy-2.1.0-cp311-cp311-manylinux_2_17_x86_64.whl
pip install ./numpy-2.1.0-cp311-cp311-manylinux_2_17_x86_64.whl
   ```

## Dead Ends

- **** — Disabling the cache does not prevent the connection reset. (80% fail)
- **** — Reducing retries makes the failure immediate rather than fixing the network issue. (95% fail)
- **** — Lowering the timeout causes more timeouts and does not address the reset. (90% fail)
