解决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"
相关推荐
AutumnWind04204 小时前
【Intelij IDEA使用手册】
java·ide·intellij-idea
狂炫冰美式6 小时前
你还在古法PPT吗,试试HTML呢?免费编辑导出工具给 xdm 放这了
前端·后端·github
Thecozzy8 小时前
PR经历(Understand-Anything)
github
猎奇不再看10 小时前
MAF的Agent详解:连接LLM的IChatClient对象
github
_Evan_Yao11 小时前
一文搞懂:Git分支管理与团队协作规范——从GitFlow到GitHub Flow,从rebase到merge,打造高效协作流
java·git·后端·github
lxw184491251412 小时前
github 提示双因素认证
github
逛逛GitHub12 小时前
你的 AI Agent 每次请求都在干嘛?这个开源项目帮你扒个底朝天。
github
用户4802615847012 小时前
Remeda:data-first 和 data-last,它全都要
github
花椒技术14 小时前
AI 代码评审落地实践:GitLab 接入、项目规则与反馈闭环
后端·github·agent
袋子(PJ)14 小时前
2026最新GitHub发布项目全过程
git·github