git clone GnuTLS recv error (-9): A TLS packet with unexpected length was received
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.
How to fix git error: RPC failed; curl 56 GnuTLS
To solve this issue:
Rebuilding git with openssl instead of gnutls fixed my problem.
I followed these instructions
git clone error: gnutls_handshake() failed: An unexpected TLS packet was received
Finally found the answer. It seems that I have to do:
git config --global http.proxy http://<my_proxy>:<my_port>
git config --global https.proxy https://<my_proxy>:<my_port>
Spent quick some time on this but luckily it works in the end. I thought this would be hard to fix but it turns out to be some commands that I never did before on Ubuntu 16.04.
Related Topics
Expect Utility Is Not Working When Executing from Jenkins
Where Is The Linux Socket Implementation
Where Do You Send The Kernel Console on an Embedded System
Linux + Verify If File Is Text or Binary
Undelete The Deleted Command in Bash
How to Include a Directory in The Package Debuild
Setfacl in Dockerfile Has No Effect
Can Not Route Packets from One Interface to Another
Pci-E Memory Space Access with Mmap
Recursively List Files from a Given Directory in Bash
Where M Flag and O Flag Will Be Stored in Linux
How to Clear Docker Task History
Terraform - Unable to Run Multiple Commands in Local Exec
Process Niceness (Priority) Setting Has No Effect on Linux
Why Can't I Install Any Packages with Ghc 7.8.4 on Raspberry Pi
Git Error: Cannot Handle Https