解决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"
相关推荐
她说..2 小时前
幂等问题分析
java·jvm·spring boot·spring·spring cloud·intellij-idea
TunerT_TQ6 小时前
L3 静态源码取证|工程评测】Serein :一个 Rust 原生 Discord 客户端的“扩展能力”与“平台红线”之间
github
智购科技智能售货柜6 小时前
自动售货机盐雾腐蚀与三防设计实战:从锈蚀到防护~YH
git·科技·单片机·嵌入式硬件·github
怕浪猫9 小时前
机器人是当下薪酬最高却几乎没人学的技能:一份 6 个月从 0 到上手的学习路线
算法·架构·github
qetfw10 小时前
EVE-NG 导入 Debian 虚拟机:VMDK 转 QCOW2 与启动验证
linux·前端·debian·github
Jay-r12 小时前
开源 zh-doc-quality-gate:检查 Markdown / Word 的五类文档质量问题
人工智能·学习·开源·github·skill
艺杯羹12 小时前
零基础看懂 GitHub(Gitee 与 GitCode 通用):找资源、认界面、4 种获取方式与开源协议
git·gitee·开源·github·版本控制
阿策小和尚13 小时前
干掉 better-sqlite3,把 5 万星的 Ghost 6.81 压成 67MB 单包跑进 Dopame OS
人工智能·设计模式·github
m4Rk_2 天前
【论文阅读】Agent 记忆机制(151):DUNE——让源事实更新沿依赖图传播到派生记忆
论文阅读·人工智能·学习·开源·github