解决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"
相关推荐
微尘hjx29 分钟前
【GitHub 代码仓 02】git命令操作示例
git·elasticsearch·github
逛逛GitHub1 小时前
GLM-5 发布了!10 分钟傻瓜化部署 OpenClaw 到飞书。
github
蜜汁小强2 小时前
为 Github 创建本地 .ssh 关联 (RSA 以支持老系统)
运维·ssh·github
zVGKKTvT2 小时前
人工蜂鸟群算法优化BP神经网络的数据预测分类实现
intellij-idea
摇滚侠2 小时前
基于 session 的登录认证方式,基于 token 的登录认证方式,对比
java·开发语言·intellij-idea
雪域迷影4 小时前
sdl3-sample-简明教程,指导如何在包括移动和 Web 在内的各种平台上构建和使用 SDL3
github·c·开源软件·sdl3
laoliu19964 小时前
开源 FRP GUI 客户端
git·开源·github
阿里嘎多学长5 小时前
2026-02-12 GitHub 热点项目精选
开发语言·程序员·github·代码托管
MemOS5 小时前
MemOS OpenClaw 插件测评结果来啦!Tokens 消耗降低 72%+
python·github
hamish-wu5 小时前
告别idea,拥抱AI开发环境TRAE
java·ide·编辑器·intellij-idea·intellij idea·visual studio