简体   繁体   English

Ubuntu git:致命:无法访问 gnutls_handshake() 失败:已收到 TLS 致命警报

[英]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.我正在尝试在我的 ubuntu 中运行一个简单的 git pull 命令。 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.不是它显示了致命的:无法访问“ https://xxxxxx@bitbucket.org/reponame/project.git/ ”:gnutls_handshake() 失败:收到了 TLS 致命警报。

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.我需要能够从我的服务器运行 git pull。

If it helps the version of my curl is 7.50.3如果它有帮助,我的 curl 版本是 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我遇到了这个问题,我的 git 版本是 2.19.x,在我运行以下命令后:#add-apt-repository ppa:git-core/ppa

apt-get update; apt-get 更新; apt-get install git apt-get 安装 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.我无法将 git 升级到新版本,所以我从https://mirrors.edge.kernel.org/pub/software/scm/git/获取了 2.22.1 的源代码,并删除了旧的 get、make 和 make install,将git升级到2.22.1,解决了这个问题,git运行良好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 致命:无法访问“......”:gnutls_handshake()失败:握手失败 - fatal: unable to access ".....": gnutls_handshake() failed: Handshake failed git clone:致命:gnutls_handshake()失败了 - git clone: fatal: gnutls_handshake() failed Git 问题:gnutls_handshake() 失败:收到了意外的 TLS 数据包 - Git Problem: gnutls_handshake() failed: An unexpected TLS packet was received Git,致命:无法访问“https://github.com/path/to/repo.git”:gnutls_handshake() 失败:pull 函数出错 - Git, fatal: unable to access 'https://github.com/path/to/repo.git': gnutls_handshake() failed: Error in the pull function git clone 错误:gnutls_handshake() 失败:收到了意外的 TLS 数据包 - git clone error: gnutls_handshake() failed: An unexpected TLS packet was received gnutls_handshake() 失败:GIT 握手失败 - gnutls_handshake() failed: Handshake failed GIT Github无法访问... gnutls_handshake()失败:关闭通知 - Github unable to access… gnutls_handshake() failed:Close notify git错误:gnutls_handshake()在推送时失败 - git error: gnutls_handshake() failed on push 错误:gnutls_handshake()GIT存储库失败 - error: gnutls_handshake() failed GIT repository git失败,并显示“ gnutls_handshake()失败” - git fails with “gnutls_handshake() failed”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM