{
  "id": "pip/git-clone-exit-status-128",
  "signature": "ERROR: Command errored out with exit status 128: git clone --filter=blob:none 'git@github.com:user/private-repo.git' /tmp/pip-req-build-xxxxx. Check the logs for full command output.",
  "signature_zh": "错误：命令以退出状态 128 失败：git clone --filter=blob:none 'git@github.com:user/private-repo.git' /tmp/pip-req-build-xxxxx。请查看日志获取完整命令输出。",
  "regex": "ERROR: Command errored out with exit status 128: git clone.*git@.*private-repo.*",
  "domain": "pip",
  "category": "auth_error",
  "subcategory": null,
  "root_cause": "Pip cannot clone a private Git repository because the SSH key or authentication credentials are missing, invalid, or not configured for the user running pip.",
  "root_cause_type": "generic",
  "root_cause_zh": "Pip 无法克隆私有 Git 仓库，因为 SSH 密钥或身份验证凭据缺失、无效或未为运行 pip 的用户配置。",
  "versions": [
    {
      "version": "pip 23.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "pip 23.1",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "pip 23.2",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "pip 24.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The underlying issue is the same SSH authentication problem; manual clone will also fail until credentials are fixed.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "This can work if a token is provided, but if the token is missing or expired, the error persists.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Ensure SSH key is added to the SSH agent: run 'ssh-add ~/.ssh/id_rsa' and verify with 'ssh -T git@github.com'.",
      "success_rate": 0.8,
      "how": "Ensure SSH key is added to the SSH agent: run 'ssh-add ~/.ssh/id_rsa' and verify with 'ssh -T git@github.com'.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a personal access token with HTTPS: change the requirement to 'git+https://<token>@github.com/user/private-repo.git' in requirements.txt.",
      "success_rate": 0.9,
      "how": "Use a personal access token with HTTPS: change the requirement to 'git+https://<token>@github.com/user/private-repo.git' in requirements.txt.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "确保 SSH 密钥已添加到 SSH 代理：运行 'ssh-add ~/.ssh/id_rsa' 并使用 'ssh -T git@github.com' 验证。",
    "使用个人访问令牌和 HTTPS：将 requirements.txt 中的需求改为 'git+https://<token>@github.com/user/private-repo.git'。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://pip.pypa.io/en/stable/topics/vcs-support/",
  "official_doc_section": null,
  "error_code": "ERROR",
  "verification_tier": "ai_generated",
  "confidence": 0.9,
  "fix_success_rate": 0.85,
  "resolvable": "true",
  "first_seen": "2023-06-20",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}