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.