{
  "id": "python/requests-connectionerror-timeout-connect",
  "signature": "requests.exceptions.ConnectionError: HTTPConnectionPool(host='slow.example.com', port=80): Max retries exceeded with url: / (Caused by 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='slow.example.com', port=80): 超过最大重试次数 (由ConnectTimeoutError('<urllib3.connection.HTTPConnection object at 0x...>: 无法建立新连接：[Errno 110] 连接超时')引起)",
  "regex": "requests\\.exceptions\\.ConnectionError:\\ HTTPConnectionPool\\(host='slow\\.example\\.com',\\ port=80\\):\\ Max\\ retries\\ exceeded\\ with\\ url:\\ /\\ \\(Caused\\ by\\ 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 server is unreachable due to network issues, firewall, or the server 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": "Reducing the timeout value to fail faster",
      "why_fails": "Does not solve the connectivity issue.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "Using a different user-agent",
      "why_fails": "The problem is network-level, not application-level.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Check network connectivity using ping or traceroute",
      "success_rate": 0.8,
      "how": "ping slow.example.com\n# If unreachable, check firewall or VPN settings",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a different network interface or proxy",
      "success_rate": 0.7,
      "how": "proxies = {'http': 'http://proxy.example.com:8080'}\nrequests.get('http://slow.example.com', proxies=proxies)",
      "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.85,
  "fix_success_rate": 0.8,
  "resolvable": "partial",
  "first_seen": "2025-01-15",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}