解决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"
相关推荐
梓羽玩Python1 小时前
月之暗面最新开源模型!Kimi-Audio:革新多模态音频处理,统一音频理解、生成与对话!
人工智能·python·github
HelloGitHub2 小时前
《HelloGitHub》第 109 期
开源·github
程序员差不多先生2 小时前
字节跳动在GitHub上有哪些开源项目
github
极小狐5 小时前
极狐GitLab 的压缩和合并是什么?
运维·git·ssh·gitlab·github
yuren_xia11 小时前
IntelliJ IDEA 中配置 Spring MVC 环境的详细步骤
spring·mvc·intellij-idea
极小狐12 小时前
极狐GitLab 合并请求依赖如何解决?
运维·git·ssh·gitlab·github
字节王德发12 小时前
如何在SpringBoot中通过@Value注入Map和List并使用YAML配置?
java·maven·intellij-idea
聂 可 以13 小时前
IntelliJ IDEA修改实体类成员变量的名称(引入了该实体类的全部文件也会自动更新变量的名称)
java·ide·intellij-idea
八股文领域大手子15 小时前
如何给GitHub项目提PR(踩坑记录
大数据·elasticsearch·github
泯泷16 小时前
探索DeepWiki:开发者的代码知识库利器
github·openai·ai编程