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.
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'
Your mileage may vary, but in my case I was suspecting two factors:
So I decided to change Internet provider and pick a higher bandwidth. It's working fine now. I'm not sure if only changing provider or picking a higher bandwidth would have been enough, so you'd have to try out.
Note: I used to use a workaround I mentioned in another question which is about shallow cloning, and that made me think that shorter connections may work.