使用git报错:error: RPC failed; curl 18 transfer closed with outstanding read data remaining error: 4790 bytes of body are still expected fatal: early EOF fetch-pack: unexpected disconne

今天在使用git下载项目时发生报错:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining error: 4790 bytes of body are still expected fatal: early EOF fetch-pack: unexpected disconnect while reading sideband packet fatal: fetch-pack: invalid index-pack output

使用如下方法解决:

 完成下载:

 相关命令:

git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999

 

posted @ 2024-05-31 20:57  xuxuxu69  阅读(51)  评论(0编辑  收藏  举报