{
  "id": "python/requests-connectionerror-proxy-connection-timeout",
  "signature": "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')))",
  "signature_zh": "requests.exceptions.ConnectionError: HTTPConnectionPool(host='proxy.example.com', port=8080): 超过最大重试次数 (由ProxyError('无法连接到代理。', ConnectTimeoutError('<urllib3.connection.HTTPConnection object at 0x...>: 无法建立新连接：[Errno 110] 连接超时'))引起)",
  "regex": "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'\\)\\)\\)",
  "domain": "python",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The proxy server is unreachable due to network issues or the proxy being down.",
  "root_cause_type": "generic",
  "root_cause_zh": "由于网络问题或代理宕机，代理服务器不可达。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Increasing the proxy timeout in the code",
      "why_fails": "If the proxy is down, longer timeout does not help.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "Using a different port on the same proxy",
      "why_fails": "The proxy server itself is unreachable, not the port.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Check proxy server status and network connectivity",
      "success_rate": 0.85,
      "how": "telnet proxy.example.com 8080\n# If fails, contact proxy administrator or use a different proxy",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a direct connection without proxy",
      "success_rate": 0.7,
      "how": "response = requests.get('http://target.com')  # remove proxies parameter",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.86,
  "fix_success_rate": 0.8,
  "resolvable": "partial",
  "first_seen": "2025-05-18",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}