0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Posted at

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.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?