Occasional Gnutls Handshake Error

I'm trying to download the AOSP from Google using repo sync. Occasionally, I receive an error similar to the following:

fatal: unable to access ' gnutls_handshake() failed: Error in the push function.

I tried the solution posted "error: gnutls_handshake() failed" when connecting to https servers. Unfortunately, it ended with openssl not functioning properly in WSL. So, I uninstalled that build of git and reinstalled sudo apt-get install git. My current git version is 2.7.4.

The error appears only occasionally, e.g. the first repo sync checked out 90% of the projects successfully. Here is a screenshot illustrating the erratic behavior of the error:

Lastly, I am using WSL with a proxy so there is plenty of room for strange issues.

1 Answer

Found the problem, my proxy resolved to 1 of 2 IP addresses. One of them worked without issue, the other did not.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest