拉代码没反应:fatal: unable to access 'https://github.com: SSL connection timeout

1,057 阅读1分钟

排查方式:先ping一下 ping github.com

发现可以ping通.

取消代理:

git config --global --unset http.proxy
git config --global --unset https.proxy 

还是没用

我又设置了host表

vim /etc/hosts

140.82.112.3 github.com
199.232.5.194 github.global.ssl.fastly.net
54.231.114.219 github-cloud.s3.amazonaws.com

也不好使。后来我开了代理,好使了。。。。。。 太蠢了,就记到这吧。

后续: fatal: unable to access 'http://101.132.120.32:8090/tisi-shcsp/PROD01-TISIHC 还是切换VPN导致的,解法:

www.bilibili.com/read/cv1437…