解决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"
相关推荐
人生导师yxc7 小时前
IDE缓存配置等位置更改(自存)
java·ide·intellij-idea
九狼8 小时前
Flutter Riverpod + MVI 状态管理实现的提示词优化器
前端·flutter·github
Zzz 小生19 小时前
LangChain Streaming-Overview:流式处理使用完全指南
人工智能·python·语言模型·langchain·github
丹牛Daniel1 天前
Java解决HV000183: Unable to initialize ‘javax.el.ExpressionFactory‘
java·开发语言·spring boot·tomcat·intellij-idea·个人开发
用户579854769711 天前
04:工具系统设计:从抽象基类到 JSON Schema 的完整实现
github
fchampion1 天前
最终一致性
java·spring·rabbitmq·github·mvc
猫头虎1 天前
OpenClaw 常用操作命令完整速查手册:终端 CLI 操作指令详解|聊天斜杠指令详情
运维·git·容器·开源·github·aigc·ai编程
BD_Marathon2 天前
IDEA创建多级包时显示在同一行怎么办
java·ide·intellij-idea
阿里嘎多学长2 天前
2026-02-20 GitHub 热点项目精选
开发语言·程序员·github·代码托管
迈克桀森2 天前
Git 日常操作全攻略:拉取 / 提交代码 + 高频命令速查
git·github