1 | fatal: unable to access 'https://github.com/xxxx/xxxx.github.io.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 |
- 先按照网上修改了 HOSTS(失败)
- 在 private/etc 中找到 hosts 添加 IP, xx.xx.xx github.com
- DNS 可以在
http://tool.chinaz.com/dns?type=1&host=www.github.com&ip=
查找 - 可以上了,但是过一会又不行了,排查后,发现就算删除 host 中添加的内容也是时上时不上,原来是网络波动啊!
- 之后 git 可能不能用密码直接传了:
You recently used a password to access the repository at xxxx with git using git/2.23.0.
Basic authentication using a password to Git is deprecated and will soon no longer work. Visit https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information around suggested workarounds and removal dates.