解决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"
相关推荐
MonkeyKing_sunyuhua1 小时前
github 刚开始创建的时候是公有的仓库改成私有的仓库
github
郁大锤2 小时前
如何用 GitHub Actions 自部署 GitHub Readme Stats,并统计私有仓库数据
github
CoderJia程序员甲3 小时前
GitHub 热榜项目 - 日榜(2026-04-05)
人工智能·ai·大模型·github·ai教程
luom01024 小时前
GitHub镜像站搭建全攻略技术文章大纲
github
2301_771717214 小时前
idea中springboot中使用junit测试报错的解决方案
spring boot·junit·intellij-idea
AI成长日志4 小时前
【GitHub开源项目专栏】黑客松获奖项目技术深潜:从垂直领域AI到安全基础设施的创新实践
人工智能·开源·github
ISkp3V8b44 小时前
BMAD方法 v6 与 GitHub Copilot 在应用开发中的协同
github·copilot
Zww08915 小时前
idea配置注释模板
java·ide·intellij-idea
MwEUwQ3Gx5 小时前
GitHub Pages 技术文档站点搭建实践指南
github
九狼JIULANG7 小时前
【无标题】
android·flutter·开源·github