解决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"
相关推荐
食指Shaye18 分钟前
idea突然出现找不到Maven配置的jar
maven·intellij-idea·jar
我待_JAVA_如初恋1 小时前
安装idea教程
java·ide·intellij-idea
会写代码的饭桶1 小时前
【DevOps实战】使用 GitHub Actions 自动构建镜像并双推至 Docker Hub 和 GHCR
docker·自动化·github·devops
MicrosoftReactor1 小时前
技术速递|GitHub Copilot SDK 与云原生的完美融合
云原生·github·copilot
綦枫Maple2 小时前
IDEA选择“在当前窗口打开”还是“新窗口打开”的提示不见了,如何恢复?
java·ide·intellij-idea
码云数智-大飞2 小时前
优雅解决 IntelliJ IDEA “命令行过长”问题:使用 JAR 清单(Manifest)方式
java·intellij-idea·jar
乌蒙山连着山外山2 小时前
idea中的工程,import有问题
java·ide·intellij-idea
摇滚侠2 小时前
IDEA Maven 项目打包标准使用指南
java·maven·intellij-idea
JiL 奥2 小时前
简易的 AWS SAM + GitHub Actions 项目
云计算·github·aws
计算机学姐3 小时前
基于SpringBoot的校园流浪动物救助平台
java·spring boot·后端·spring·java-ee·tomcat·intellij-idea