1 代理不正确错误
fatal: unable to access ‘https://gitlab.gnome.org/GNOME/pango.git/’: gnutls_handshake() failed: The TLS connection was non-properly terminated.

2 设定代理
git config --global https.proxy http://127.0.0.1:7890
git config --global https.proxy https://127.0.0.1:7890
3 取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
文章讲述了在访问GitLab仓库时遇到的TLS连接错误,以及如何通过设置和取消HTTP(S)代理来解决问题。用户尝试了配置gitconfig以使用本地代理服务器(127.0.0.1:7890),但依然遇到gnutls_handshake()failed:TheTLSconnectionwasnon-properlyterminated.的问题。此外,也提供了取消代理的命令。
1110

被折叠的 条评论
为什么被折叠?



