gitubuntu

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


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

Solution

  • To solve this issue:

    Rebuilding git with openssl instead of gnutls fixed my problem.

    I followed these instructions