ton-blockchain / mytonctrl

A tool to run and maintain a TON node/validator
GNU General Public License v3.0
217 stars 130 forks source link

fatal: index-pack failed #277

Open LuckyCoders opened 1 month ago

LuckyCoders commented 1 month ago

Ubuntu 20.04 LTS (Focal Fossa)

Successfully installed fastcrc-0.3.0 psutil-5.9.8
[2/6] Cloning github repository
Cloning into 'ton'...
remote: Enumerating objects: 13142, done.
remote: Counting objects: 100% (742/742), done.
remote: Compressing objects: 100% (466/466), done.
fatal: the remote end hung up unexpectedly1 MiB | 171.00 KiB/s 
fatal: early EOFs:  28% (3680/13142), 14.31 MiB | 171.00 KiB/s
fatal: index-pack failed
LuckyCoders commented 1 month ago

✨ Solution

Increases buffer size to 500 MB

git config --global http.postBuffer 524288000

awesome-doge commented 3 weeks ago

According to my past experience, sometimes when downloading the repo, I will connect to an unstable host for downloading. It will be recommended to download again, and the speed will usually be greatly improved.

If you insist on using an unstable host for downloading, there is a high probability that the download will fail or receive errors.

So here is the suggestion:

  1. Download again
  2. Or move to a place with better network