2024-04-21

如下问题可能的解决方法:

增加超时时间:可以通过设置 Git 的超时时间来尝试解决超时问题。你可以执行以下命令来设置超时时间:

git config --global http.postBuffer 524288000# 设置 POST 缓冲区大小

git config --global http.lowSpeedLimit 0# 设置低速限速为 0

git config --global http.lowSpeedTime 999999# 设置低速限速时间为一个非常大的值

git config --global http.keepaliveTimeout 600# 设置 keepalive 超时时间

git config --global core.compression -1# 禁用压缩

git config --global ssh.postBuffer 524288000# 设置 SSH 缓冲区大小

git config --global ssh.timeout 600# 设置 SSH 超时时间



问题:

git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)


fatal: unable to access 'https://github.com/KDE/kde1-kdebase.git/': HTTP/2 stream 1 was not closed cleanly before end of the underlying stream


POST git-upload-pack (185 bytes)

POST git-upload-pack (227 bytes)

error: RPC failed; curl 28 Recv failure: Connection was reset

fatal: expected 'packfile'


fatal: unable to access 'https://github.com/bminor/glibc.git/': HTTP/2 stream 1 was not closed cleanly before end of the underlying stream


POST git-upload-pack (185 bytes)

POST git-upload-pack (gzip 98527 to 39980 bytes)

error: RPC failed; curl 18 HTTP/2 stream 5 was not closed cleanly before end of the underlying stream

error: 5941 bytes of body are still expected

fetch-pack: unexpected disconnect while reading sideband packet

fatal: early EOF

fatal: fetch-pack: invalid index-pack output

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容