问题
Using GitLab and Git Client version as - 2.22.0. recently we have uploaded audio/video related files into our repository, currently the repository size increased to 4.5 GB. Due to this now even we are unable to clone it.
The following error being getting while cloning none of us able to clone.
githost/tmp$ git clone https://pic-gitlab.com/pic_code/network-mm.git
Cloning into 'network-mm'...
Username for 'https://pic-gitlab.com': labuser
Password for 'https://labuser@pic-gitlab.com':
remote: Enumerating objects: 3695, done.
remote: Counting objects: 100% (3695/3695), done.
remote: Compressing objects: 100% (3337/3337), done.
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Error(s) during clone:
git clone failed: exit status 128
Tried below commands, however couldn’t help.
git config --global http.postBuffer 1048576000
git clone --depth=1 https://pic-gitlab.com/pic_code/network-mm.git
Any assistance would be highly appreciated.
回答1:
That seems related to an old (2013) GnuTLS side-effect which has been seen here also.
Check first if the issue persists with Git 2.22.
Then, try and contact GitLab support to request for that huge file to be deleted on their side.
来源:https://stackoverflow.com/questions/56928184/gitlab-clone-error-rpc-failed-curl-56-the-requested-url-returned-error-401