error RPC failed; curl 56 SSLRead() return on macOS Sierra
Overview
I picked up the book “Minna no Go Gengo” (Go for Everyone), and I’m sure many readers felt the urge to manage their Git repositories with ghq after reading it.
I had long been using peco for my Git repository navigation command, but managing repositories with ghq turned out to be really convenient.
Around that time, when I tried to clone a git repository with the ghq command, I hit the error in the title, so here’s a memo for future reference.
1 | $ ghq get <git repository> |
It seems the git I was using did not support SSL.
Fix
- Reinstall git with openssl and curl
1 | $ brew reinstall git --with-brewed-curl --with-brewed-openssl |
Run Again
1 | $ ghq get <git repository> |
It worked without a hitch.
References
Curl: (56) SSLRead() return error -9806 - Need Help please slight_smile
