Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git: gnutls_handshake() failed: Error in the pull function

Tags:

git

I got the error when using git pull command

fatal: unable to access 'https://github.com/path/to/repo.git/': gnutls_handshake() failed: Error in the pull function.

I try many methods from Internet but they're unuseful. Also, tried to deal with proxy in my network.

My PC: Ubuntu 16.04 LTS x86_64

Does it have any effective ways to resolve the problem ?

Note: There're some solutions https://devopscube.com/gnutls-handshake-failed-aws-codecommit/ or https://askubuntu.com/questions/186847/error-gnutls-handshake-failed-when-connecting-to-https-servers but it didn't work in my case.

like image 653
Thảo M. Hoàng Avatar asked Sep 18 '18 04:09

Thảo M. Hoàng


1 Answers

I resolved this problem by-

 apt-get -y install build-essential nghttp2 libnghttp2-dev libssl-dev
like image 105
hardik chugh Avatar answered Sep 17 '22 13:09

hardik chugh