解决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"
相关推荐
Bacon3 小时前
Electron 应用商店:开箱即用工具集成方案
前端·github
N 年 后6 小时前
cursor和传统idea的区别是什么?
java·人工智能·intellij-idea
掘金安东尼10 小时前
GPT-6 会带来科学革命?奥特曼最新设想:AI CEO、便宜医疗与全新计算机
前端·vue.js·github
逛逛GitHub11 小时前
国产开源 AI CRM 系统,用它替换了 7 年的 Salesforce。
github
散峰而望11 小时前
C++入门(二) (算法竞赛)
开发语言·c++·算法·github
HelloGitHub12 小时前
让 AI 记住我家狗叫「十六」,原来只需要 5 分钟
开源·github
计算机学姐13 小时前
基于SpringBoot的公务员考试管理系统【题库组卷+考试练习】
java·vue.js·spring boot·后端·java-ee·intellij-idea·mybatis
CoderJia程序员甲13 小时前
GitHub 热榜项目 - 日榜(2025-11-04)
开源·github·ai编程·github热榜
拿破轮14 小时前
不小心在idea中点了add 到版本控制 怎么样恢复?
java·ide·intellij-idea
天若有情67321 小时前
【java EE】IDEA 中创建或迁移 Spring 或 Java EE 项目的核心步骤和注意事项
后端·spring·java-ee·intellij-idea