{
  "id": "python/pip-connection-timeout",
  "signature": "WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f...>: Failed to establish a new connection: [Errno 110] Connection timed out')': /simple/package/",
  "signature_zh": "警告：连接中断后重试（总重试次数=4）：'NewConnectionError'：无法建立新连接：[Errno 110] 连接超时",
  "regex": "WARNING:\\ Retrying\\ \\(Retry\\(total=4,\\ connect=None,\\ read=None,\\ redirect=None,\\ status=None\\)\\)\\ after\\ connection\\ broken\\ by\\ 'NewConnectionError\\('<pip\\._vendor\\.urllib3\\.connection\\.HTTPSConnection\\ object\\ at\\ 0x7f\\.\\.\\.>:\\ Failed\\ to\\ establish\\ a\\ new\\ connection:\\ \\[Errno\\ 110\\]\\ Connection\\ timed\\ out'\\)':\\ /simple/package/",
  "domain": "python",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "Network issues prevent pip from reaching PyPI; firewall, proxy, or DNS problems.",
  "root_cause_type": "generic",
  "root_cause_zh": "网络问题阻止pip访问PyPI；防火墙、代理或DNS问题。",
  "versions": [
    {
      "version": "3.10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Increasing pip timeout with --timeout=100",
      "why_fails": "Timeout extension doesn't fix underlying network connectivity.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "Using --no-cache-dir",
      "why_fails": "Cache is not the issue; network still unreachable.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Use a mirror or alternative index",
      "success_rate": 0.9,
      "how": "pip install package -i https://pypi.douban.com/simple/",
      "condition": "",
      "sources": []
    },
    {
      "action": "Configure proxy if behind firewall",
      "success_rate": 0.85,
      "how": "pip install package --proxy http://user:pass@proxy:port",
      "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": "true",
  "first_seen": "2024-06-18",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}