I'm trying to clone a git repository and I'm receiving following error while executing the command:
GnuTLS recv error (-9): A TLS packet with unexpected length was received.
My client machine is a Ubuntu 14.04.
I'm trying to clone a git repository and I'm receiving following error while executing the command:
GnuTLS recv error (-9): A TLS packet with unexpected length was received.
My client machine is a Ubuntu 14.04.
This is Known bug as @Ivan Ternovtsiy said ,but there is workaround
Remove current GIT from your system
sudo apt-get purge git
Download GIT deb git_1.9.1-1_amd64.deb link
Execute the downloaded DEB.
If you are in china,may be you should set proxy for git,for example
git config --global https.proxy 'socks5://127.0.0.1:9999'