Fix "Git RPC failed with curl 56 and error -9806" issue on Mac

More than 1 year has passed since last update.

Git failed when trying to push.

SinriMac:~/Codes/WebProjects/ourbible/assets/bible/LXX Sinri$ git push

Counting objects: 1205, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1199/1199), done.
Writing objects: 100% (1205/1205), 2.23 MiB | 648.00 KiB/s, done.
Total 1205 (delta 5), reused 0 (delta 0)
error: RPC failed; curl 56 SSLRead() return error -9806
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

First tried git config http.postBuffer 524288000 but still sick.

Then found a solution online.

brew remove git

brew remove curl

brew install openssl
brew install --with-openssl curl
brew install --with-brewed-curl --with-brewed-openssl git


作者:SteveJones

链接:http://www.jianshu.com/p/0b0b74fc349d

來源:简书

著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


Good, ok now.