The TLS connection was non-properly terminated.

 

git push 报错

 

fatal: unable to access 'https://github.com/xxx/sss.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.

 

这中情况一般是在vscode中使用git 认证失败会出现之后

 

解决方案:

ubuntu

#重启网络
service networking restart
#查看网络 service networking status ● networking.service
- Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Active: active (exited) since Fri 2021-04-23 13:54:13 CST; 8s ago Docs: man:interfaces(5) Process: 2416487 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS) Main PID: 2416487 (code=exited, status=0/SUCCESS) Apr 23 13:54:13 tim-jds systemd[1]: Starting Raise network interfaces... Apr 23 13:54:13 tim-jds systemd[1]: Finished Raise network interfaces.

 

posted @ 2021-04-23 14:16  timseng  阅读(8088)  评论(0编辑  收藏  举报