解决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"
相关推荐
xixingzhe23 小时前
idea启动vue项目
java·vue.js·intellij-idea
@ chen5 小时前
IDEA初始化配置
java·ide·intellij-idea
wohehe7 小时前
Android项目工程化-Github Actions
linux·github
Yunzenn7 小时前
CRAG 架构与置信度路由
github
陈煜的博客8 小时前
idea 项目只编译不打包,跳过测试,快速开发
java·ide·intellij-idea
逛逛GitHub11 小时前
YC 总裁开源了自己亲手写的 AI Agent 大脑,1 周就 1 万点赞。
github
Mr-Wanter11 小时前
踩坑记录:IDEA 启动服务连续三次 OOM 内存溢出完整解决
java·ide·intellij-idea·oom
CoderJia程序员甲13 小时前
GitHub 热榜项目 - 日榜(2026-04-21)
ai·大模型·llm·github·ai教程
Garfield200514 小时前
基于 GitHub 开源项目二次开发:Upstream 同步、Merge / Rebase 边界与实践
开源·github
KD14 小时前
「OpenClaw」我写了个桌面控制Skill,让龙虾接管电脑!(MacOS版)
人工智能·开源·github