git错误:推送时gnutls_handshake()失败 [英] git error: gnutls_handshake() failed on push

查看:80
本文介绍了git错误:推送时gnutls_handshake()失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用git一段时间没有问题,然后突然在使用git push时它开始抛出此错误:

I have been using git for a while with no problems, then suddenly it started throwing this error when using git push:

错误:gnutls_handshake()失败:接收到长度意外的TLS数据包.在访问...时 致命:HTTP请求失败

error: gnutls_handshake() failed: A TLS packet with unexpected length was received. while accessing ... fatal: HTTP request failed

一切正常,然后突然停止.

It was working fine, then suddenly it stopped.

出什么问题了?

谢谢

推荐答案

gnutls软件包似乎存在问题.解决方法是,您可以尝试使用openssl编译git.有关如何完成此操作的更多信息,可以在此处找到.

It seems there is a problem with the gnutls package. As a workaround, you can try to compile git with openssl. More info on how to accomplish this you can find here.

这篇关于git错误:推送时gnutls_handshake()失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆