解决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"
相关推荐
CoderJia程序员甲7 小时前
GitHub 热榜项目 - 日榜(2025-10-07)
ai·github·开源项目·github热榜
CoderJia程序员甲9 小时前
GitHub 热榜项目 - 日榜(2025-10-04)
ai·开源·大模型·github·ai教程
小黄酥11 小时前
Sourcetree克隆/获取gitee工程,Git获取SSH密钥
git·gitee·github
wdfk_prog12 小时前
构建基于Hexo、Butterfly、GitHub与Cloudflare的高性能个人博客
笔记·学习·github·hexo·blog
JinSo12 小时前
alien-signals 系列 —— 认识下一代响应式框架
前端·javascript·github
freedom_1024_16 小时前
解决GitHub大文件推送错误:彻底清理PDB文件并配置.gitignore
git·github
是垚不是土1 天前
Prometheus接入“飞书“实现自动化告警
运维·安全·自动化·github·飞书·prometheus
绝无仅有1 天前
消息队列mq面试经典问题与解答总结
后端·面试·github
绝无仅有1 天前
数据库mysql报错追踪与解决总结
后端·面试·github
TeleostNaCl2 天前
如何在 IDEA 中使用 Proguard 自动混淆 Gradle 编译的Java 项目
android·java·经验分享·kotlin·gradle·intellij-idea