{
  "id": "python/pip-index-url-connection-error",
  "signature": "WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object>: Failed to establish a new connection: [Errno 111] Connection refused')': /simple/pkg/",
  "signature_zh": "警告：连接断开后重试（总计=4，连接=None，读取=None，重定向=None，状态=None）...",
  "regex": "WARNING:\\ Retrying\\ \\(Retry\\(total=4,\\ connect=None,\\ read=None,\\ redirect=None,\\ status=None\\)\\)\\ after\\ connection\\ broken\\ by\\ 'NewConnectionError\\('<pip\\._vendor\\.urllib3\\.connection\\.VerifiedHTTPSConnection\\ object>:\\ Failed\\ to\\ establish\\ a\\ new\\ connection:\\ \\[Errno\\ 111\\]\\ Connection\\ refused'\\)':\\ /simple/pkg/",
  "domain": "python",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The package index server is unreachable due to network issues, firewall, or server down.",
  "root_cause_type": "generic",
  "root_cause_zh": "包索引服务器不可达，可能是网络问题、防火墙或服务器宕机。",
  "versions": [
    {
      "version": "3.6",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.7",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "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"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "If the server is down, longer timeouts don't help.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "May not be configured correctly.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.8,
      "how": "curl -I https://pypi.org/simple/pkg/",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pkg",
      "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.88,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-04-15",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}