github连不上

github连不上

错误提示

fatal: unable to access 'https://github.com/Ada-design/qianduan.git/': Failed to connect to github.com port 443 after 21073 ms: Couldn't connect to server

解决方案

下载steam++ https://steampp.net/

安装成功之后,启动steam++,然后配置github加速配置

配置成功之后,再从github上拉取代码,会提示

fatal: unable to access 'https://github.com/Ada-design/qianduan.git/': SSL certificate problem: unable to get local issuer certificate

这个错误信息表明你在尝试访问 GitHub 时遇到了 SSL 证书问题。这通常是因为你的系统无法验证服务器的 SSL 证书,可能是由于证书已过期、未正确配置或者你正在使用的 Git 客户端版本过旧

忽略 SSL 验证:如果你只是在本地开发并且不需要连接到外部网络,你可以选择忽略 SSL 证书验证。但请注意,这样做会降低安全性,因为你的数据传输将不再加密。在命令行中输入以下命令:

powershell 复制代码
git config --global http.sslVerify false

然后再次使用github拉取和提交代码,就ok

steam++ 采用Hosts加速

在C:\Windows\System32\drivers\etc下的hosts文件内添加如下

powershell 复制代码
140.82.114.4 www.github.com

199.232.5.194 github.global.ssl.fastly.net

54.231.114.219 github-cloud.s3.amazonaws.com


相关推荐
草梅友仁8 小时前
草梅 Auth 1.1.0 发布与最新动态 | 2025 年第 30 周草梅周报
开源·github·ai编程
mortimer9 小时前
安装NVIDIA Parakeet时,我遇到的两个Pip“小插曲”
python·github
心之语歌12 小时前
Spring AI MCP 客户端
人工智能·spring·github
yeshan33314 小时前
使用 Claude Code 的自定义 Sub Agent 完善博文写作体验
ai·github·agent·claudecode
程序视点15 小时前
望言OCR 2025终极评测:免费版VS专业版全方位对比(含免费下载)
前端·后端·github
玩个冰球16 小时前
Stata 18下载安装教程(非常详细),看完这一篇就够了(附安装包)
github
Xi_Xu16 小时前
Xget:下一代开源资源获取加速引擎,让你的文件下载、储存库克隆和镜像拉取快如闪电
开源·github
用户40993225021218 小时前
FastAPI的查询白名单和安全沙箱机制如何确保你的API坚不可摧?
前端·后端·github
计算机毕设定制辅导-无忧学长21 小时前
InfluxDB Flux 查询协议实战应用(二)
github
黄团团1 天前
SpringBoot连接Sftp服务器实现文件上传/下载(亲测可用)
服务器·spring boot·github