1、fatal: unable to access 'https://github.com/xxxx/': gnutls_handshake() failed: Error in the pull function.
解决办法:关掉蓝灯
2、Failed to connect to 127.0.0.1 port 40287: 拒绝连接
原因:使用
env | grep proxy
查看代理设置情况。
NO_PROXY=localhost,127.0.0.0/8,::1
http_proxy=http://127.0.0.1:40287/
https_proxy=http://127.0.0.1:40287/
HTTPS_PROXY=http://127.0.0.1:40287/
no_proxy=localhost,127.0.0.0/8,::1
HTTP_PROXY=http://127.0.0.1:40287/
可以看出,40287端口确实被占用了。
重置所有与40287端口有关的代理设置:
export https_proxy=""
export http_proxy=""
export HTTPS_PROXY=""
export HTTP_PROXY=""
成功git clone