解决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"
相关推荐
B站计算机毕业设计超人3 小时前
计算机毕业设计SpringBoot+Vue.jst房屋租赁系统(源码+LW文档+PPT+讲解)
vue.js·spring boot·后端·eclipse·intellij-idea·mybatis·课程设计
油泼辣子多加5 小时前
2025年02月21日Github流行趋势
github
4277240013 小时前
IDEA使用git不提示账号密码登录,而是输入token问题解决
java·git·intellij-idea
AC使者21 小时前
介绍 TensorFlow 的基本概念和使用场景。
开发语言·自然语言处理·sqlite·github
JustHappy21 小时前
「我们一起做组件库🌻」做个面包屑🥖,Vue的依赖注入实战💉(VersakitUI开发实录)
前端·javascript·github
桃木山人1 天前
BigData File Viewer报错
大数据·java-ee·github·bigdata
程序员张31 天前
使用IDEA提交SpringBoot项目到Gitee上
java·gitee·intellij-idea
程序员阿鹏1 天前
jdbc批量插入数据到MySQL
java·开发语言·数据库·mysql·intellij-idea
逸Y 仙X1 天前
Git常见命令--助力开发
java·大数据·git·java-ee·github·idea
007_rbq1 天前
XUnity.AutoTranslator-Gemini——调用Google的Gemini API, 实现Unity游戏中日文文本的自动翻译
人工智能·python·游戏·机器学习·unity·github·机器翻译