解决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"
相关推荐
cTz6FE7gA1 小时前
数据结构与算法:大厂面试高频题的深度解析
intellij-idea·perl
清心歌4 小时前
记一次系统环境变量更改后在IDEA中无法读取新值的排查过程
java·后端·intellij-idea·idea
卓怡学长5 小时前
m326数据结构课程网络学习平台的设计与实现+vue
java·spring·tomcat·maven·intellij-idea·mybatis
CoderJia程序员甲9 小时前
GitHub 热榜项目 - 日榜(2026-04-09)
人工智能·ai·大模型·github·ai教程
魔卡少女19 小时前
Nginx配置代码化自动部署詹金斯/Github方案
前端·nginx·github
李白的天不白9 小时前
ai编程工具
github
斯坦SteinY10 小时前
github年度热门开源项目
ai·chatgpt·开源·github·排名·热门项目
第一程序员11 小时前
Python函数式编程:非科班转码者的入门指南
python·github
Hhaizhr11 小时前
放弃OpenClaw,开始用Hermes
github
ShawnLiaoking11 小时前
Github 克隆 PyCharm,vscode
ide·pycharm·github