You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Git克隆失败,报错RPC failed; curl 92 HTTP/2 stream 7 was not closed cleanly: PROTOCOL_ERROR (err 1)

Git克隆失败,报错RPC failed; curl 92 HTTP/2 stream 7 was not closed cleanly: PROTOCOL_ERROR (err 1)

这对我来说是个棘手的关键问题——我现在完全没法克隆目标仓库。

我执行的命令和对应的报错信息如下:

$ git clone <repo>
Cloning into '<repo-name>'...
remote: Enumerating objects: 1705, done.
remote: Counting objects: 100% (61/61), done.
remote: Compressing objects: 100% (45/45), done.
error: RPC failed; curl 92 HTTP/2 stream 7 was not closed cleanly: PROTOCOL_ERROR (err 1)
error: 1282 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

我认为这应该不是网络问题,因为我已经试过这些排查操作:

  • 重启我的电脑
  • 重启路由器
  • 更换网络服务商

除此之外,我还尝试了一些针对该类Git克隆报错的常见修复方案,但问题依然没有解决。

备注:内容来源于stack exchange,提问作者Anubhab Nath

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.17 08:48:14