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
相关推荐
江梦寻5 分钟前
软件工程教学评价
开发语言·后端·macos·架构·github·软件工程
掘金安东尼13 分钟前
换了无数键盘、工学椅,却从没认真选过一块为程序员“注意力”设计的屏
前端·面试·github
qianmoQ5 小时前
GitHub 趋势日报(2025年06月10日)
github
牧野星辰5 小时前
.gitignore文件的规范
git·github
掘金安东尼5 小时前
从 0 构建 AI Demo?这份“云上 0 元清单”你值得拥有!
人工智能·面试·github
该用户已不存在7 小时前
懒人福音!ServBay+n8n,10分钟打造自己的小道消息
github·ai编程
独立开阀者_FwtCoder10 小时前
TypeScript 杀疯了,开发 AI 应用新趋势!
前端·javascript·github
二个半engineer11 小时前
GitLab Web 界面创建分支后pathspec ... did not match any file(s)
git·gitlab
寻月隐君12 小时前
bacon 点燃 Rust:比 cargo-watch 更爽的开发体验
后端·rust·github
天下一般12 小时前
手写RPC框架<四> 负载均衡
网络协议·rpc·负载均衡