I use Ubuntu 16.04. When I want to git push origin master I get:
error: RPC failed; curl 56 GnuTLS recv error (-12): A TLS fatal alert has been received.
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
To solve this issue:
Rebuilding git with openssl instead of gnutls fixed my problem.
I followed these instructions
the whole process may take ~ 1hour
On Ubuntu 16.04 took around 10mins! For step 7, after removing the line "TEST=test" in debian/rules, I also changed NO_OPENSSL=0 in the OPTS and in step 8, added "-uc -us" for not signing the package.
I have the same error when performing
git clone
, and this solution saved me!I get
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
as one of the people commenting at the end of the article you linked. I confirm that removing tests spare a lot of time, while -uc -us was needed to make a custom package. However, I haven't tried NO_OPENSSL=0 yet... For now I'm satisfied with my workaround (posted as answer).do you have any short-solution for Ubuntu-18? or this above will work?