使用git push命令提交更改报错 fatal: unable to access 'http://github.com/xxxxxx/': OpenSSL SSL_read: Connection was reset, errno 10054
最近学习使用vscode中的git操作方法,遇到了一些问题,花了不时间来寻找解决方法,好不容易解决了,就把我的方法记录下来,希望可以给其他遇到该问题的小伙伴一些参考。
报错具体信息,我是以下两个问题交替出现:
fatal: unable to access 'http://github.com/haoah316/minimall.git/': OpenSSL SSL_read: Connection was reset, errno 10054
或者
fatal: unable to access 'https://github.com/haoah316/minimall.git/': Failed to connect to github.com port 443: Timed out
关于别人给出的解决git push报10054或443错误的方法
- 查询并取消代理
git config --global http.proxy
git config --global --unset http.proxy
- 解除ssl验证
git config --global http.sslVerify "false"
- 将项目中.git文件夹下的config文件中的url中的https改为http
https://github.com/xxxx.git
改为
http:/