最近搞了一个github模板的博客,使用命令行git pull拉去代码的时候会出现以下两个错误:
一、fatal: unable to access 'https://github.com/Githubxinw...': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
二、fatal: unable to access 'https://github.com/Githubxinw...': Operation timed out after 300021 milliseconds with 0 out of 0 bytes received
对于,第一个问题:git config --global --unset http.proxy使用此命令修改有时候可以,然后再提交代码的时候,再去获取还是会出现此问题,而且很慢。
对于,第二个问题,可能是超时引起的。
总之,执行git pull命令后反应很慢,并且会出现以上两个问题。
最近 github 部分地区、运营商访问存在问题,可以添加代理或修改
hosts
解决: