12 October, 2017
0 Comments
1 category
Suddenly my repository failed to clone:
git clone https://myuser@myurl.nl/scm/myproject/myrepo.git
Cloning into ‘myrepo’…
remote: Counting objects: 332184, done.
remote: Compressing objects: 100% (59662/59662), done.
fatal: The remote end hung up unexpectedly020.57 MiB | 9.89 MiB/s
fatal: early EOF
fatal: index-pack failed
It failed at exactly 1GB.
I found the fix at: https://community.atlassian.com/t5/Bitbucket-questions/My-git-clone-stops-at-1GB/qaq-p/70773
It was caused by a limit in nginx reverse proxy, after increasing the limit to 2GB I could clone again.
See: https://www.scalescale.com/tips/nginx/optimizing-nginx-for-serving-files-bigger-than-1gb/
Category: Uncategorized