解决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"
相关推荐
第一程序员2 小时前
Python基础学习路径:非科班转码者的入门指南
python·github
badhope4 小时前
概率论如何让机器学习不再玄学
人工智能·深度学习·机器学习·数据挖掘·github
evan20205 小时前
faster-whisper 音频转字幕 懒人整合包
github
IT WorryFree6 小时前
如何设置微信群机器人
微信·github
Risehuxyc7 小时前
github里README和*.md的编写规则
github
badhope7 小时前
10个高星GitHub项目推荐
python·深度学习·计算机视觉·数据挖掘·github
徐小夕7 小时前
花了一周时间,我们开源了一款PDF编辑SDK,支持在线批注+脱敏
前端·vue.js·github
逛逛GitHub7 小时前
让你的 Claude Code 起飞的 5 个小技巧,我用的很爽。
github
darkb1rd8 小时前
awesome-opensource-ai:真开源
开源·github·好物分享
阿里嘎多学长9 小时前
2026-03-27 GitHub 热点项目精选
开发语言·程序员·github·代码托管