解决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"
相关推荐
miofly3 小时前
GitHub 日榜趋势速报 | 2026-09-27
开源·github
怕浪猫3 小时前
顶级模型一句话,AI 写出了能玩的 QQ飞车
前端·面试·github
粥里有勺糖3 小时前
视野修炼-技术周刊第134期 | 豆豆眼头像
前端·github·aigc
粥里有勺糖3 小时前
体验一下最近比较🔥的闪卡SKILL
前端·github
miofly3 小时前
GitHub 日榜趋势速报 | 2026-09-26
开源·github
峰向AI3 小时前
让代码自己写出 PRD:两个 Skill 把业务规则变成可追溯的文档
github
峰向AI3 小时前
阿里开源:把企业级 Agent 落地经验写成了一本 30 章的开源手册
github
miofly3 小时前
GitHub 日榜趋势速报 | 2026-09-25
开源·github
诚小纯3 小时前
同一份稿子在两代模型上差 6.44 倍:语音模型价格对齐的工程拆法
人工智能·github
OpenTiny社区4 小时前
HC 2026 回顾|OpenTiny NEXT 解锁 Web 应用智能化新范式
前端·开源·github