解决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"
相关推荐
灰色人生qwer14 分钟前
解决IDEA运行Java程序jdk版本不匹配问题
java·开发语言·intellij-idea
Harvy_没救了1 小时前
【github 爆款】隐匿与通行:CloakBrowser 项目深度洞察报告
github
L_Xian1 小时前
StarrySky重新维护了,摆烂了一段时间,想想还是搞搞吧。
android·github·音视频开发
风起时Funchs1 小时前
我把 JetBrains 的 Git 客户端搬到了 VS Code
github
神奇椰子2 小时前
基于浪浪云轻量服务器与宝塔面板的CMS快速部署实践
运维·服务器·github
冴羽yayujs2 小时前
GitHub 热门项目-日榜(2026-05-13)
github
花里胡哨的菜只因3 小时前
IDEA 编译 Maven 项目报 Malformed \uxxxx encoding
java·maven·intellij-idea
0vvv03 小时前
github拆分小批量上传文件
github
jiayong233 小时前
IDEA 中进行分支双向同步操作指南
java·ide·intellij-idea
乐动心情3 小时前
RocksDB的代码分析报告
github