[git]Git error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

$ git clone https://github.com/urbanadventurer/whatweb               [23:19:00]
Cloning into 'whatweb'...
remote: Counting objects: 25740, done.
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
FAIL: 128

解决办法

$ git config --global http.postBuffer 524288000

尽可能将值设置较大

你可能感兴趣的:([git]Git error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54)