解决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"
相关推荐
Ken_P_##37 分钟前
WordAgent
github·agent
u1301301 小时前
GitHub 热榜项目:日榜(2026-10-11)
人工智能·github
miofly2 小时前
GitHub 日榜趋势速报 | 2026-10-13
开源·github
高频因子挖掘机2 小时前
Python 批量获取股票行情后,如何用 Pandas 统一字段、索引和数据类型?
后端·github·api
高频因子挖掘机2 小时前
多股票 K 线如何用 Pandas 对齐?从收益率计算到横截面分析
后端·github·api
用户2022522150613 小时前
我在 DSH 做了个 AI 交付验收台:没有证据,就不算通过
github
前端市界13 小时前
Pro React Admin: 统一工程底座,承载多种应用...
前端·github
穆梓兰煊18 小时前
Rust 重写 AI 基础设施的工程逻辑
github
邱杰47018 小时前
数智人事系统(三):Spring Boot 3.4 骨架与配置分层
github