解决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"
相关推荐
QC班长3 小时前
Maven公司私库配置踩坑点
java·服务器·maven·intellij-idea
SiYuanFeng6 小时前
新手学Git:如何把本地 Git 项目上传到 GitHub
git·github
桌面运维家11 小时前
中小学IDV云桌面vDisk挂载部署方案
github
MXN_小南学前端12 小时前
Vue3 + Spring Boot 工单系统实战:用户反馈和客服处理的完整闭环(提供gitHub仓库地址)
前端·javascript·spring boot·后端·开源·github
lentoo-13 小时前
GitHub 暂停了 Copilot 付费注册
github·copilot
一颗青果13 小时前
Cookie 与 Session 超详细讲解
服务器·前端·github
人道领域14 小时前
【黑马点评日记】高并发秒杀:库存超卖与锁机制解析
java·开发语言·redis·spring·intellij-idea
skywalk816315 小时前
为aicomm项目添加CI/CD 配置 让github帮我们自动测试
ci/cd·github
Yunzenn15 小时前
零基础复现Claude Code(五):终端篇——赋予执行命令的超能力
面试·github
Yunzenn15 小时前
零基础复现Claude Code(四):双手篇——赋予读写文件的能力
开源·github