git 报错:错误:RPC 失败。curl 28 Failed to connect to github.com port 443 after 75000

复制代码
错误:RPC 失败。curl 28 Failed to connect to github.com port 443 after 75000 ms: Couldn't connect to server

致命错误:在引用列表之后应该有一个 flush 包

方法一:

直接换一个域名:把

git clone https://github.com/zx595306686/sim_demo.git命令换成

git clone https://gitclone.com/github.com/zx595306686/sim_demo.git

然后大家只需要把上述命令更换成自己的网址就可以了

方法二:

#取消http代理

git config --global --unset http.proxy

#取消https代理

git config --global --unset https.proxy

然后再执行git clone https://github.com/zx595306686/sim_demo.git命令

方法三:

1 打开hosts文件
复制代码
sudo vim /etc/hosts
2 在添加github.com域名
复制代码
140.82.114.4    github.com
相关推荐
QQ__17646198243 小时前
制作个人Github学术主页
github·网页制作
星霜旅人4 小时前
【Linux】Git原理与使用
git
小华同学ai6 小时前
错过它=落伍!只用一张照片+14秒,腾讯开源 HunyuanVideo-Avatar 带你玩转多角色数字人
前端·后端·github
zhangphil6 小时前
git reset --hard HEAD~1与git reset --hard origin/xxx
git
格格巫ZYX7 小时前
Git GitHub Gitee
git·gitee·github
!Polaris9 小时前
【git-首次初始化本地项目、关联远程仓库】
git
GoGeekBaird10 小时前
使用GoHumanLoop增强你的Agent控制 - LangGraph 中的实践
langchain·github
程序员Bears10 小时前
云部署实战:基于AWS EC2/Aliyun ECS与GitHub Actions的CI/CD全流程指南
ci/cd·github·aws
coding随想11 小时前
优化你的Git历史:解决分支合并中的‘多余记录’问题
git