Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

git

ubuntu

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 
like image 969
user Avatar asked Jul 14 '16 15:07

user


Video Answer


2 Answers

The accepted answer from @harlequin might work, but I spend 2 hours and could not build git package from source code.

However, Check the below link as this works for me.

The remote end hung up unexpectedly while git cloning

just update the http post buffer value

git config --global http.postBuffer 1048576000 
like image 60
Shubham Agarwal Avatar answered Sep 22 '22 11:09

Shubham Agarwal


To solve this issue:

Rebuilding git with openssl instead of gnutls fixed my problem.

I followed these instructions

like image 28
Harlequin Avatar answered Sep 22 '22 11:09

Harlequin