解决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"
相关推荐
大猫和小黄20 小时前
IDEA终极配置指南:打造你的极速开发利器
intellij-idea
周小码20 小时前
Go开发的自行托管代理加速服务:支持Docker与GitHub加速
docker·golang·github
麦cocc21 小时前
github存储代码(上传更新删除)--实操版
github
自由的风.21 小时前
超详细教程:一招一式教你将本地项目上传至GitHub
github
Rverdoser1 天前
域名暂停解析是怎么回事
github
misty youth1 天前
git命令常用指南
git·github
n12352351 天前
GitHub 宕机自救指南技术文章大纲
github
WhoisXMLAPI1 天前
WhoisXML API 推出 TLD RDAP 监测工具
网络·安全·github
lostElk1 天前
团队 Git 分管理全流程规范
git·github
CoderJia程序员甲1 天前
GitHub 热榜项目 - 日榜(2025-09-04)
ai·开源·大模型·github·ai教程