I tried to clone my project on my linux server via git and suddenly got this error:
GnuTLS recv error (-9): A TLS packet with unexpected length was received.
This is asked many times, but answered none.
I am using bitbucket.
It turns out you just need to remove git with sudo apt-get purge git
but NOT with sudo apt-get --purge git
for some reason it wont work if you do --purge
. Now install it again by typing sudo apt-get install git
. And then when you try your clone, it should work properly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With