解决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"
相关推荐
我命由我123459 小时前
Git 推送报错:error: src refspec main does not match any
运维·git·gitee·github·运维开发·学习方法·版本控制
阿里嘎多学长10 小时前
2026-09-20 GitHub 热点项目精选
开发语言·程序员·github·代码托管
峰向AI11 小时前
skill-up: [阿里开源] 让 AI Agent Skills 自己进化的评估工具
github
子林super14 小时前
顺序表用Python3定义与增删改查
github
子林super14 小时前
Python非空判断与类型检查写法
github
子林super14 小时前
Python list与array关键区别及使用场景
github
子林super14 小时前
Python中None与null的区别
github
松树戈15 小时前
idea查找实体字段调用情况Find Usages找不到Value write(字段赋值的地方)解决措施
intellij-idea
u13013017 小时前
GitHub 热榜项目:周榜(2026-09-20)
人工智能·github
u13013018 小时前
GitHub 热榜项目:日榜(2026-09-20)
人工智能·github