简体   繁体   中英

Ubuntu git: fatal: unable to access gnutls_handshake() failed: A TLS fatal alert has been received

I am trying to run a simple git pull command in my ubuntu. It used to work perfectly until a few days ago. Not it shows fatal: unable to access ' https://xxxxxx@bitbucket.org/reponame/project.git/ ': gnutls_handshake() failed: A TLS fatal alert has been received.

I've tried several things that I found in this forum but nothing has worked so far. Thanks!

Note: I tried doing what was listed in the solutions mentioned but it is not working. I need to be able to run a git pull from my server.

If it helps the version of my curl is 7.50.3

我将 git 升级到 2.20 版,现在它可以工作了!

I encountered this problem, my git version is 2.19.x, after i run the following : #add-apt-repository ppa:git-core/ppa

apt-get update; apt-get install git

i cannot upgrade git to new version, so i fetched the source code of 2.22.1 from https://mirrors.edge.kernel.org/pub/software/scm/git/ , and remove old get, make and make install, upgrade git to 2.22.1, fixed this problem, git works well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM