Warm tip: This article is reproduced from serverfault.com, please click

How to fix git error: RPC failed; curl 56 GnuTLS

发布于 2016-07-14 15:58:01

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
Questioner
user
Viewed
0
2,293 2017-06-30 18:54:29

To solve this issue:

Rebuilding git with openssl instead of gnutls fixed my problem.

I followed these instructions