Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including
Stack Overflow
, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Ask questions and share your thoughts on the future of Stack Overflow. Join our first live community AMA this Wednesday, February 26th, at 3 PM ET.
Learn more
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Try Teams for free
Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
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 'https://android.googlesource.com/platform/system/bt/': 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.