解决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"
相关推荐
逛逛GitHub40 分钟前
一个运维人写了 12 年的开源项目,Star 刚刚破了 3 万。
github
烤麻辣烫1 小时前
I/O流 基础流
java·开发语言·学习·intellij-idea
春和景明3601 小时前
费曼学习法和项目
intellij-idea
daguanren1 小时前
LMRing 实测榜:GPT-5.4 登顶?Claude 4.6 还能打吗?
github·aigc
CoovallyAIHub2 小时前
Claude Code Review:多 Agent 自动审查 PR,代码产出翻倍后谁来把关?
算法·架构·github
happyprince5 小时前
2026年03月27日热门Model/github项目
github
XuDream5 小时前
idea中忽略idea文件不提交git和取消被 Git 追踪
java·git·intellij-idea
司南-70496 小时前
开发自己的app之 - 如何构建自己github的release仓库
electron·github·web app
guestsun6 小时前
Idea反编译插件--方便查看和修改class文件
java·intellij-idea·jar·反编辑工具·idea反编译插件·class反编译·jar反编译
0xCode 小新6 小时前
Git常用操作
git·gitee·github