解决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"
相关推荐
Reart6 小时前
从0解构tinyWeb项目--(Day:9)
后端·架构·github
SparkleN.11 小时前
mini-agent四个问题完善
前端·chrome·github
甄心爱学习13 小时前
【项目实训(个人5)】
python·github
lagrahhn14 小时前
IDEA一些提效的方法
java·ide·intellij-idea
逛逛GitHub15 小时前
13 个本周 火火火火 的 GitHub 项目,第 3 个是热榜第 1。
github
计算机安禾15 小时前
【Linux从入门到精通】第19篇:SSH远程管理进阶——不只是输入密码
linux·ssh·github
无限进步_18 小时前
【C++】寻找数组中出现次数超过一半的数字:三种解法深度剖析
开发语言·c++·git·算法·leetcode·github·visual studio
一个程序猿老马1 天前
012、远程协作:连接GitHub/Gitee与git remote
git·gitee·github
小柯博客1 天前
STM32MP2安全启动技术深度解析
c语言·c++·stm32·嵌入式硬件·安全·开源·github