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
相关推荐
逛逛GitHub5 小时前
发现一个 AI 大模型服务质量榜单。
github
权咚6 小时前
阿权的开发经验小集
git·ios·xcode
就是帅我不改8 小时前
揭秘Netty高性能HTTP客户端:NIO编程的艺术与实践
后端·面试·github
uhakadotcom9 小时前
静态代码检测技术入门:Python 的 Tree-sitter 技术详解与示例教程
后端·面试·github
绝无仅有11 小时前
数据库MySQL 面试之死锁与排查经验总结
后端·面试·github
绝无仅有12 小时前
mysql性能优化实战与总结
后端·面试·github
杨杨杨大侠13 小时前
解密 atlas-mapper 框架 (9/10):故障排查与调试技巧
java·开源·github
徐小夕13 小时前
花了一天时间,开源了一套精美且支持复杂操作的表格编辑器tablejs
前端·算法·github
HelloGitHub15 小时前
终端里跑图形应用「GitHub 热点速览」
开源·github
数字化顾问1 天前
GitHub热榜项目 - 日榜之应用场景与未来发展趋势
github