解决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"
相关推荐
TunerT_TQ2 小时前
【开源 L3 静态取证|工程评测】xnulinux:双内核实验——可复现的环境与许可比截图更重要
github
一条Go2 小时前
proto 契约:校验注解、错误码与「文案即接口」
后端·github
一条Go2 小时前
15 套品牌色 + 双模式:把颜色关进三层 token
前端·github
逛逛GitHub5 小时前
GitHub 上 1.6 万 Star!这个 GitHub 项目让 AI 帮你复刻视频
github
秋千易10 小时前
Agent 用不了 Skill,卡在 5 个断点
github
徐小夕10 小时前
JitKnow AI知识库:把任何文档,一键变成可访问和可配置的Wiki站点
前端·vue.js·github
Herry项10 小时前
Mac 上的剪映 Pro 的草稿是怎么加密的,以及我如何用 app 自己的代码解开它
github
李永奉11 小时前
Git和GitHub-VS Code 图形化 Git初始化、状态标识、提交、关联远程仓库与首次推送(全程在 VS Code 内完成,每步附对应Git命令)
git·github
钱栈up12 小时前
GitHub 热榜实测|worktrunk 环境部署实录
rust·开源·github
HelloGitHub13 小时前
《HelloGitHub》第 128 期
开源·github