gnutls_handshake() failed: The TLS connection was non-properly terminated.

从远程仓库获取所有更新,并保存在本地时,使用git fetch 命令时出现如下错误:
在这里插入图片描述
原因:
gnutls_handshake() failed: The TLS connection was non-properly terminated._第1张图片

解决办法:
重置代理

git config --global  --unset https.https://github.com.proxy 
git config --global  --unset http.https://github.com.proxy 

在这里插入图片描述
问题解决:
gnutls_handshake() failed: The TLS connection was non-properly terminated._第2张图片
参考资料
拉取github报错 gnutls_handshake() failed: The TLS connection was non-properly terminated.
git获取别人更新的代码

你可能感兴趣的:(Linux,程序错误,github)