解决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"
相关推荐
redreamSo1 小时前
让AI Agent自动接Issue、写代码、上线:我用200行代码搭了一个全自动开发流水线
人工智能·开源·github
weixin_514253186 小时前
430-aguvis tmux
github
JAVA面经实录9177 小时前
Java开发工程基础完整手册(企业实战完整版)
java·开发语言·git·ci/cd·svn·github·intellij idea
zh_xuan7 小时前
github远程library仓库升级
android·github
本地化文档7 小时前
rust-nomicon-l10n
rust·github·gitcode
Maynor9967 小时前
Codex 中国站正式上线!
人工智能·gpt·macos·github
EvenBoy7 小时前
IDEA中使用CodeX
java·ide·intellij-idea
本地化文档7 小时前
setuptools-docs-l10n
python·github·gitcode
小白依旧白8 小时前
git clone --mirror命令说明
github
是希燃亚8 小时前
hermes迁移手册,将hermes迁移到不同服务器~
后端·github