git clone fatal: unable to access ‘https://github.com/sentsin/layui.git/’: openssl ssl_read: ssl_error_syscall, errno 10054
-
When using git clone to pull layui, it actually reported an error to me. My computer at home has not been used for a long time, and I am inexplicably convulsed. . . . I owe to clean up
-
First, let's take a look at what the specific error is: git clone fatal: unable to access 'https://github.com/sentsin/layui.git/': openssl ssl_read: ssl_error_syscall, errno 10054 It is not difficult to
see that ssl is to blame , ah this. . .
This number is solved, just turn off the ssl certificate verification and it will be over -
Execute git config http.sslVerify "false" first
git config http.sslVerify "false"
The result is this error:
fatal: not in a git directory
- That's ok, we execute this: git config --global http.sslVerify "false"
git config --global http.sslVerify "false"
- No error reported. . . Done.
- Finally, here is the complete process: