【问题记录】fatal: unable to access ‘https://github.com/‘: Recv failure: Connection was reset

问题场景

GitHub上的项目克隆到本地


问题描述

fatal: unable to access 'https://github.com/Henry-chr/ProgrammerManuel.git/': 
Recv failure: Connection was reset

原因分析:

一般是这是因为服务器的SSL证书没有经过第三方机构的签署,所以才报错


解决方案:

GitBash中执行以下命令

git config --global --unset http.proxy 
git config --global --unset https.proxy
  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
引用\[1\]: 这个错误信息"fatal: unable to access 'https://github.com/xxx/autowrite.git/': Failed to connect to github.com port 443: Timed out"表示无法连接到github.com的443端口,连接超时。引用\[2\]: 另一个错误信息"fatal: unable to access 'https://github.com/.../.git': Could not resolve host: github.com"表示无法解析主机名github.com。解决这个问题的方法有两个方面,首先是找出问题的原因,然后是采取相应的解决办法。引用\[3\]: 这个错误信息"fatal: unable to access 'https://github.com/xxx/autowrite.git/': OpenSSL SSL_read: Connection was reset, errno 10054"表示连接被重置,无法访问github.com问题:fatal: unable to access 'https://github.com/AUTOMATIC1111/stable-diffusion-webui.git/': Recv failure: Connection was reset。 回答: 这个错误通常是由于网络连接问题引起的。可能是由于网络不稳定或防火墙设置等原因导致无法连接到github.com。解决这个问题的方法有几种。首先,可以尝试重新连接网络,确保网络连接正常。其次,可以检查防火墙设置,确保github.com的访问没有被阻止。另外,还可以尝试使用代理服务器来连接github.com。如果问题仍然存在,可以尝试使用其他网络环境或联系网络管理员寻求帮助。 #### 引用[.reference_title] - *1* *3* [git提交或克隆报错fatal: unable to accesshttps://github.com/tata20191003/autowrite.git/‘: Failed ...](https://blog.csdn.net/good_good_xiu/article/details/118567249)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* [fatal: unable to accesshttps://github.com/.../.git‘: Could not resolve host: github.com解决方法...](https://blog.csdn.net/Gherbirthday0916/article/details/125504214)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序猿的向往

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值