解决IDEA Failed to connect to github.com port 443: Timed out 问题

1. Timed out 报错

复制代码
fatal: unable to access 'https://github.com/xxxx/xxxx.git/': Failed to connect to github.com port 443: Timed out

解决

设置代理

shell 复制代码
git config --global http.proxy 127.0.0.1:1080   #为全局的 git 项目都设置代理

git config --local  http.proxy 127.0.0.1:1080    #为某个 git 项目单独设置代理

另外:

查看代理

shell 复制代码
git config --global http.proxy      # 输出 127.0.0.1:1080

git config --local http.proxy        # 输出 127.0.0.1:1080

取消代理

shell 复制代码
git config --global --unset http.proxy
git config --global --unset https.proxy

2. OpenSSL 报错

复制代码
fatal: unable to access 'https://github.com/code-huan/vuepress-theme-hope.git/': OpenSSL SSL_read: Connection was reset, errno 10054

解决

修改设置,解除ssl验证

shell 复制代码
git config --global http.sslVerify "false"
相关推荐
DogDaoDao5 小时前
【GitHub】WorldMonitor:一个工程极致主义的实时全球情报仪表盘深度解析
python·程序员·架构·github·go语言·worldmonitor·实时全球情报
其实防守也摸鱼5 小时前
GitHub开源项目破圈方法论:从技术自嗨到生态共赢
服务器·数据库·学习·开源·github·命令行·linux系统
析数塔6 小时前
SleeperGem 技术拆解:恶意 gem 是怎么躲过 CI/CD 扫描的
安全·ci/cd·github
Lvan的前端笔记8 小时前
ios:GitHub Actions云端Xcode26打包上架TestFlight
macos·github·xcode
炸膛坦客8 小时前
Git 和 GitHub:(五)一文给出常用 Git 命令,持续更新中......
git·github
迷茫中的自我9 小时前
GitHub Actions自动化运维实战:从CI/CD到云原生部署
运维·自动化·github
官乐20 小时前
如何去创建Github仓库
github
码流怪侠1 天前
【GitHub】WorldMonitor:一个工程极致主义的实时全球情报仪表盘深度解析
github
北极糊的狐1 天前
20.3 使用 Vercel CLI 手动部署(无需 GitHub,适合不常更新的项目)
github
2401_853448231 天前
Git安装流程和基础使用步骤
git·github