简体   繁体   中英

"Error decoding the received TLS packet" when cloning into git repository

I am experiencing an error when trying to clone into the https://github.com/zulip/zulip.git repository.

As far as I have looked this question has not been answered yet.

-I have tried raising the http/https buffer without success using:

git config --global http.postBuffer 524288000
git config --global https.postBuffer 524288000

-The error always occurs @53% arround 100MiB in.

Cloning into 'zulip'...
remote: Enumerating objects: 342136, done.
remote: Counting objects: 100% (1589/1589), done.
remote: Compressing objects: 100% (719/719), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

EDIT: I have done a bit testing and I seem to be getting this error whenever I try to clone a very large repository.
-I tried cloning the https://github.com/dagster-io/dagster repository and got the same error;
-Then I tried with an old and very small repository of mine ( https://github.com/LFBianchi/RPyNCalc ) and it works like a charm;
-Just to be sure I forked the github.com/zulip/zulip.git and tried cloning it from my version and got the same exact error.

This was solved by switching to SSH instead of HTTPS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM