解决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"
相关推荐
领创工作室4 小时前
GitHub Workflows 全面解析:从核心概念到开源实现
运维·github
小小安于乱6 小时前
解决IDEA的git插件pull代码冲突但右下角不提示消息问题
java·git·intellij-idea
一条泥憨鱼6 小时前
【从0开始学习计算机网络】| DNS -记录类型详解
计算机网络·http·github·域名·dns·记录
u1301307 小时前
GitHub 热榜项目:日榜(2026-08-21)
驱动开发·github
MicrosoftReactor9 小时前
技术速递|GitHub Copilot App 入门指南:管理你的工作
ai·github·copilot·agent
EXI-小洲10 小时前
MacOS IDEA将本地项目代码上传至SVN空仓库
macos·svn·intellij-idea
阿里嘎多学长11 小时前
2026-08-20 GitHub 热点项目精选
开发语言·程序员·github·代码托管
小妖同学学AI11 小时前
AI视频生成难在提示词?这个Claude插件让Seedance 2.0效率翻倍,附超全示例!
人工智能·开源·github·音视频
Bioinfo Guy13 小时前
DeepSeek Harness 最强的,可能不是模型,而是插件
github·skill·deepseek