解决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"
相关推荐
wangruofeng13 小时前
81 位 GitHub Stars 校友的作品与共同点:影响力来自长期公开建设
开源·github
码流怪侠18 小时前
StreamingBench:首个流式视频理解基准——多模态大模型离人类实时感知还有多远?
llm·github·音视频开发
峰向AI21 小时前
119K Star 的 AI Agent 宝库:别人写好的 100 个模板,克隆就能跑
github
dong_junshuai21 小时前
每天一个开源项目#34 Desktop Commander:7.5K Star MCP 桌面工具箱
github
逛逛GitHub1 天前
GitHub 上已开源,有人把《哈利·波特》中的笔记做出来了。
github
Java面试题总结1 天前
IntelliJ IDEA 从卡顿到起飞,只用改这些。。。
java·ide·intellij-idea
m0_738120721 天前
PHP代码审计基础——面向对象(四)
android·开发语言·网络·安全·github·php
阿里嘎多学长1 天前
2026-07-09 GitHub 热点项目精选
开发语言·程序员·github·代码托管
小帅不太帅1 天前
我随手发了几张截图,白拿了一个月 AI 顶配会员
前端·github
程序员柒叔1 天前
OpenCode 一周动态-2026-W28
人工智能·github·agent·opencode·hermes