解决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"
相关推荐
阿祖zu3 分钟前
内容创作 AI 透明化声明倡议与项目开源
前端·后端·github
AI成长日志9 分钟前
【GitHub开源项目专栏】深度拆解:LangChain智能体系统架构设计与实现原理
langchain·开源·github
OPHKVPS4 小时前
WebRAT恶意软件借GitHub伪造漏洞利用程序传播
网络·安全·github
逛逛GitHub4 小时前
这个开源 skill 专门炼化你的离职同事。
github
逛逛GitHub5 小时前
Karpathy 开源了 Agent + Obsidian 个人知识库, 超级有启发。
github
zh_xuan7 小时前
Android Paging 3实现分页加载
android·git·github·paging 3
散峰而望8 小时前
【基础算法】动态规划从入门到进阶:记忆化搜索、线性 DP、LIS/LCS 一网打尽
c++·后端·算法·github·深度优先·动态规划·代理模式
计算机学姐8 小时前
基于SpringBoot的宠物店管理系统
java·vue.js·spring boot·后端·spring·java-ee·intellij-idea
MegaDataFlowers8 小时前
解决启动Tomcat在idea输出日志乱码问题
java·ide·intellij-idea
CoderJia程序员甲8 小时前
GitHub 热榜项目 - 日榜(2026-04-06)
人工智能·ai·大模型·github·ai教程