WSL Ubuntu clone仓库报错RPC failed; curl 56 GnuTLS recv error (-24): Decryption has failed

问题

user@user:~/Work/1-2025/phxpaxos$ git clone https://gitee.com/tjopenlab/phxpaxos.git
Cloning into 'phxpaxos'...
remote: Enumerating objects: 6410, done.
remote: Counting objects: 100% (6410/6410), done.
remote: Compressing objects: 100% (4006/4006), done.
error: RPC failed; curl 56 GnuTLS recv error (-24): Decryption has failed.
error: 4501 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 config --global http.postBuffer 524288000
git config --global http.version HTTP/1.1
git config --global http.lowSpeedLimit 0 
git config --global http.lowSpeedTime 999999
posted @ 2025-01-05 19:56  Digitzh  阅读(184)  评论(0)    收藏  举报