解决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"
相关推荐
5***o500几秒前
Git在代码中的GitHub
git·github
MarvinZhang3 小时前
LeanSpec:一个轻量级的 SDD 框架
架构·开源·github
2501_941145854 小时前
TensorFlow深度学习模型开发与优化实践分享:高性能训练与推理加速经验
intellij-idea
徐小夕5 小时前
耗时一周,我把可视化+零代码+AI融入到了CRM系统,使用体验超酷!
javascript·vue.js·github
逛逛GitHub6 小时前
5 个 AI 操纵手机的 GitHub 项目,太强了
github
Zzz 小生7 小时前
Github-Cursor Free VIP:解锁AI编程工具的高级功能
github·ai编程
UVM_ERROR7 小时前
硬件设计实战:解决Valid单拍采样失效问题(附非阻塞赋值与时序对齐核心要点)
驱动开发·fpga开发·github·芯片
散峰而望7 小时前
C++数组(三)(算法竞赛)
开发语言·c++·算法·github
逻辑棱镜9 小时前
Git 分支管理与提交信息规范 (v1.0)
git·github·团队开发·代码规范·敏捷流程
qinyia11 小时前
WisdomSSH解决因未使用Docker资源导致的磁盘空间不足问题
运维·服务器·人工智能·后端·docker·ssh·github