How to fix git error: RPC failed; curl 56 GnuTLS - Stack Overflow Resolving deltas: 100% (52 52), done error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated After searching RPC based issues, there appears to he a requirement to use HTTP2
gnutls_handshake() failed (The TLS connection was non-properly . . . gnutls_handshake() failed: The TLS connection was non-properly terminated command fail error: exit status 128 As a result, the download never fully finishes, and I have an incomplete clone of the Fuchsia repo I know that my Git installation is fine because I can access GitHub repos over https just fine (I do it regularly)
git - fatal: unable to access . . . . . : gnutls_handshake () failed . . . Why am I asking? I faced the same problem: Git is used in Ubuntu 22 04 VM hosted in Windows 10 Hyper-X VM is connected to the Internet trough Default Switch (NAT) and shares OpenConnect VPN connection of the host One day git failed to fetch from remote repo that was located in private network that is reachable through VPN Symptoms were like
GnuTLS error -110 in gnutls_record_recv: The TLS connection was non . . . Essentially it says, that the server just closed the TCP connection without properly shutting down the TLS layer on top of the TCP connection first If this is some well-known server software this should hopefully not happen and you might find some relevant log entries on the server side
Git: gnutls_handshake () failed: Error in the pull function I somehow solved this without any install, and only by resetting my connection (4G smartphone access point): put laptop in airplane mode, put phone in airplane mode, restart phone access point, reconnect laptop to the latter
Could not handshake : Error while doing sudo apt-get update You'll need to complete a few actions and gain 15 reputation points before being able to upvote Upvoting indicates when questions and answers are useful What's reputation and how do I get it? Instead, you can save this post to reference later