解决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"
相关推荐
豆豆7 小时前
网站管理系统大全:精选开源与商业CMS系统全面指南
github·cms·建站系统·建站·建站平台·内容管理系统·网站管理系统
用户79457223954139 小时前
一句话生成短视频:当 AI Skills 真正打通"创作流水线"
人工智能·github·ai编程
甄心爱学习10 小时前
【项目实训】法律文书智能摘要系统4
python·github·个人开发
河婆墟邓紫棋10 小时前
MIUI中的权限
android·github
OpenTiny社区11 小时前
GenUI SDK 生成式UI:六大开发特性详解,适配多种业务场景
前端·github·ai编程
Eloudy12 小时前
迁移带有 git lfs 功能的 github 仓库
git·github
忡黑梨13 小时前
eNSP_ACL原理及应用
运维·服务器·网络·tcp/ip·github·负载均衡
瑶山13 小时前
IDEA 配置Go语言开发环境、GOPATH传统 Go 项目导入
java·golang·intellij-idea
烤麻辣烫14 小时前
算法--二分搜索
java·开发语言·学习·算法·intellij-idea
代码丰14 小时前
Github高赞项目50K learn-claude-code 的学习笔记总结
笔记·学习·github