gnutls_handshake() failed: The TLS connection was non-properly terminated. 错误解决

首先我没有设置任何 proxy ,我在提交代码时候git 报这个错

git push 
fatal: unable to access 'https://github.com/QingMings/springAnnotation/': gnutls_handshake() failed: The TLS connection was non-properly terminated.

我的系统是 ubuntu 20.04
git 版本是 2.25.1

第一步

apt-get update

第二步

apt-get install curl 

然后你再次提交就发现,OK了。

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐