Showing posts with label bitbucket handshake failed error. Show all posts
Showing posts with label bitbucket handshake failed error. Show all posts

Sunday, September 13, 2020

bitbucket pull/push error - gnutls_handshake() failed: Handshake failed

bitbucket gnutls handshake failed error :

If you are using ubuntu 14.04 or older and recently you start getting the error while pulling/pushing into git repository. All was working fine and suddently it stopped working.

You are not alone who are facing the issue. bitbucket removed support for libcurl3 version because of vulnerability. To use bitbucket, you should have libcurl4 installed in your system.

Solution :

Add following lines in the file /etc/apt/sources.list


deb http://security.ubuntu.com/ubuntu xenial-security main
deb http://cz.archive.ubuntu.com/ubuntu xenial main universe
Run :

sudo apt-get update && sudo apt-get install curl
If you are not able to install libcurl4 because of python dependencies errors on your Ubuntu machine. Follow approved solution on this link of stackoverflow and then follow above solution to install libcurl4.