{
  "id": "python/pip-download-timeout",
  "signature": "ERROR: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError': HTTPSConnectionPool(host='pypi.org', port=443): Read timed out.",
  "signature_zh": "错误：警告：连接断开后重试（Retry(total=4, connect=None, read=None, redirect=None, status=None)），原因为 'ReadTimeoutError'：HTTPSConnectionPool(host='pypi.org', port=443)：读取超时。",
  "regex": "ERROR:\\ WARNING:\\ Retrying\\ \\(Retry\\(total=4,\\ connect=None,\\ read=None,\\ redirect=None,\\ status=None\\)\\)\\ after\\ connection\\ broken\\ by\\ 'ReadTimeoutError':\\ HTTPSConnectionPool\\(host='pypi\\.org',\\ port=443\\):\\ Read\\ timed\\ out\\.",
  "domain": "python",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "Network latency or server slowness causes pip to exceed the default read timeout.",
  "root_cause_type": "generic",
  "root_cause_zh": "网络延迟或服务器缓慢导致 pip 超过默认读取超时。",
  "versions": [
    {
      "version": "3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.9",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.11",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.12",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Reducing the timeout value",
      "why_fails": "A shorter timeout will make the problem worse.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "Using --no-cache-dir",
      "why_fails": "Caching is not related to network timeout.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Increase the default timeout using pip's option",
      "success_rate": 0.9,
      "how": "pip install --default-timeout=100 mypackage",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a faster mirror or proxy",
      "success_rate": 0.85,
      "how": "pip install -i https://pypi.douban.com/simple mypackage",
      "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": "2026-01-15",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}