今天在使用hexo博客运行 hexo d 出现报错
OpenSSL SSL_connect: Connection was reset in connection to github.com:443
查询了很多方案后,发现是代理的问题,如果你使用了VPN,需要设置一下http.proxy,先查看端口号
我的端口号是2802,设置http.proxy
git config --global http.proxy 127.0.0.1:2802
git config --global https.proxy 127.0.0.1:2802
如果之前已经有过设置,先取消
git config --global --unset http.proxy
git config --global --unset https.proxy
设置好之后再hexo d,部署成功
附上我的报错和解决截图
再hexo d,部署成功
附上我的报错和解决截图