查看: 99|回复: 0

[教程] 【教程】Vscode使用Git上传Github问题集

[复制链接]

1

主题

0

回帖

0

积分

积极分子

金币
0
阅读权限
220
精华
0
威望
0
贡献
0
在线时间
0 小时
注册时间
2009-1-9
发表于 2021-6-3 10:21:00 | 显示全部楼层 |阅读模式

Vscode使用Git上传Github问题集

    • Failed to connect to github.com port 443: Timed out
    • 解决 failed unable to access ‘***.git/‘:OpenSSL SSL_read: Connection was reset, errno 10054
    • git 提交报错 error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
    • 解决fatal: unable to access ‘https://github.com/***/***.git/‘: Empty reply from server

Failed to connect to github.com port 443: Timed out

该提示含义是通过443端口连接github.com错误。
事实上,访问github由于网络原因,经常无法访问,所以我们

git config --global --unset http.proxy#删除配置
git config --global http.proxy 127.0.0.1:xxxx#根据自己的代理插件设置全局端口
git config --local http.proxy 127.0.0.1:xxxx #为某个 git 项目单独设置代理

解决 failed unable to access ‘***.git/‘:OpenSSL SSL_read: Connection was reset, errno 10054


  • 打开Git命令页面,执行git命令脚本:修改设置,解除ssl验证
git config --global http.sslVerify "false"

  • 还有

【Git】处理 Unable to access ‘https://github.com’: OpenSSL SSL_read: Connection was reset, errno 10054

  • 也有

记录一次git clone 失败
在git bash执行下面的命令

git config --global http.sslBackend "openssl"

git 提交报错 error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

解决fatal: unable to access ‘https://github.com/***/***.git/‘: Empty reply from server

解决fatal: unable to access ‘https://github.com/***/***.git/‘: Empty reply from server



来源:https://www.cnblogs.com/flybird2008/p/19355934
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部