# requests.exceptions.ConnectionError: HTTPConnectionPool(host='proxy.example.com', port=8080): Max retries exceeded with url: http://target.com/ (Caused by ProxyError('Cannot connect to proxy.', ConnectTimeoutError('<urllib3.connection.HTTPConnection object at 0x...>: Failed to establish a new connection: [Errno 110] Connection timed out')))

- **ID:** `python/requests-connectionerror-proxy-connection-timeout`
- **Domain:** python
- **Category:** network_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The proxy server is unreachable due to network issues or the proxy being down.

## Version Compatibility

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

## Workarounds

1. **Check proxy server status and network connectivity** (85% success)
   ```
   telnet proxy.example.com 8080
# If fails, contact proxy administrator or use a different proxy
   ```
2. **Use a direct connection without proxy** (70% success)
   ```
   response = requests.get('http://target.com')  # remove proxies parameter
   ```

## Dead Ends

- **Increasing the proxy timeout in the code** — If the proxy is down, longer timeout does not help. (80% fail)
- **Using a different port on the same proxy** — The proxy server itself is unreachable, not the port. (90% fail)
