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
相关推荐
XD7429716368 小时前
科技早报晚报|2026年4月30日:AI 编程终端、代码知识图谱与开源语音模型,今天最值得跟进的 3 个机会
人工智能·科技·github·知识图谱·开源项目·开发者工具
华科大胡子8 小时前
Git Submodule深度避坑指南
git
报错小能手8 小时前
讲解GitHub Actions 自动 CI 测试 WorkFlows工作流
ci/cd·github
fix一个write十个8 小时前
从零搭建音视频通话太痛苦?这个 Vue3 CallKit 让你 5 分钟搞定 1v1 + 群聊通话
前端·vue.js·github
报错小能手9 小时前
github的workflows实战
github
九成宫9 小时前
GitHub Copilot CLI中使用skills教程(以aminer-open-skill为例)
github·copilot·skills·copilot cli
花开花落为谁愁10 小时前
Git核心命令速查表
大数据·git·elasticsearch
雨声不在10 小时前
家用小GIT
git
雨声不在10 小时前
mac-intel安装git-lfs
git·elasticsearch·macos
拜托啦!狮子10 小时前
本地连接服务器并运行jupyter
服务器·jupyter·github