解决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"
相关推荐
solly79375567032 分钟前
IDEA下载git项目和配置tomcat
git·tomcat·intellij-idea
说给风听.1 小时前
Maven 配置实战:从环境搭建到 Idea 关联(超详细)
java·maven·intellij-idea
极智-9962 小时前
GitHub 热榜项目-日榜精选(2026-01-28)|实用资源与工具、开源LLM应用 | pi-mono、supermemory、mlx-audio等
开源·github·语音处理·密钥管理·llm应用·iptv资源
Lust Dusk2 小时前
如何通过GitHub找到一个人?
安全·网络安全·github
ONLYOFFICE2 小时前
ONLYOFFICE 桌面编辑器正式成为 ShaniOS 默认办公套件
linux·编辑器·github·onlyoffice
独自破碎E2 小时前
如何把本地文件夹和已存在的 GitHub 远程仓库同步
github
嘿吖嘿嘿~2 小时前
怎么解决git@github.com出现Permission denied (publickey)的问题
git·github
独自破碎E3 小时前
CRLF与LF的行分隔符警告⚠️
github
CoderJia程序员甲12 小时前
GitHub 热榜项目 - 日榜(2026-01-27)
github
小皮每天进步一点点18 小时前
IDEA找不到源码
java·ide·intellij-idea