踩坑 gnutls_handshake() failed: The TLS connection was non-properly terminated.
2022/1/20 11:14:10
本文主要是介绍踩坑 gnutls_handshake() failed: The TLS connection was non-properly terminated.,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
git clone 时遇到 gnutls_handshake() failed: The TLS connection was non-properly terminated.
原因:代理设置出错
解决方案:重置代理
git config --global --unset https.https://github.com.proxy git config --global --unset http.https://github.com.proxy
若需使用代理,http协议和socket协议的配置分别如下,以8080端口为例:
http
git config --global http.https://github.com.proxy http://127.0.0.1:8080
git config --global https.https://github.com.proxy https://127.0.0.1:8080
socket
git config --global http.proxy ‘socks5://127.0.0.1:8080’
git config --global https.proxy ‘socks5://127.0.0.1:8080’
这篇关于踩坑 gnutls_handshake() failed: The TLS connection was non-properly terminated.的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-09-20whatsapp webhook 回调的签名验证偶尔会失败是什么原因-icode9专业技术文章分享
- 2024-09-19Excel数据导出课程:初学者必备教程
- 2024-09-19Excel数据导入课程:新手入门指南
- 2024-09-19RBAC的权限管理入门教程
- 2024-09-19如何使用Svg Sprite Icon制作图标
- 2024-09-19uniapp 如何实现点赞后全局更新数据-icode9专业技术文章分享
- 2024-09-19云函数怎么运行wx-server-sdk-icode9专业技术文章分享
- 2024-09-19"dependencies": { "wx-server-sdk": "latest" },是什么意思-icode9专业技术文章分享
- 2024-09-16优化批处理流程:自定义BatchProcessorUtils的设计与应用
- 2024-09-15laravel collect游标批量插入的方法示例-icode9专业技术文章分享