解决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"
相关推荐
miofly几秒前
GitHub 今日推荐|open_scion:为AI代理设计的并发版本控制
开源·go·github
有同事要进步23 分钟前
如何在github或者是gitlab上创建空文件
gitlab·github
miofly2 小时前
GitHub 日榜趋势速报 | 2026-10-16
开源·github
高频因子挖掘机3 小时前
量化回测应该保存不复权数据吗?从数据口径到收益计算的工程实践
后端·github·api
高频因子挖掘机4 小时前
实时行情为什么不应该逐只股票请求?批量查询与标的池管理实践
后端·github·api
用户72737441388415 小时前
JSON 转义字符到底该怎么读:几种常见场景
github
SL_staff16 小时前
考勤同步工资核算总出错?破解企业级精准自动化的三个刚性支点
mysql·github·全栈
webxin66616 小时前
汽水music自动看广告领取VIP
程序员·github
梦里寻码17 小时前
给 AI Agent 搭围栏:Monorepo 是被低估的 Agent 基础设施
前端·后端·github
穆梓兰煊18 小时前
Flutter端云协同推理架构解析
flutter·github