git clone http/https 出现 10054/443 问题

369 阅读1分钟

错误 Failed to connect to github.com port 443: Timed out OpenSSL SSL_read: Connection was reset, errno 10054 一般都是网路问题,两种解决方案

  1. 第一种关闭代理(分别关闭http和https的代理)
git config --global --unset http.proxy

git config --global --unset https.proxy
  1. 设置代理,找到自己代理的 image.png
git config --global https.proxy http://127.0.0.1:7890

git config --global https.proxy https://127.0.0.1:7890
  1. 查看代理
git config --global --get http.proxy

git config --global --get https.proxy