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

火山引擎 最新活动