1

I'm trying to clone a project from an open git repo. I got this error. I was trying to find out the reason and found that. Running brew install git --with-brewed-curl --with-brewed-openssl got this:

curl: (56) SSLRead() return error -9806
Error: Failed to download resource "git"

git --version: 2.4.9 (Apple Git-60 curl -V: curl 7.43.0`

Community
  • 1
  • 1
DanDance
  • 147
  • 8
  • That error message is from a curl powered by darwinssl and not OpenSSL which you make it sound like you're trying to use? – Daniel Stenberg Dec 21 '15 at 11:56
  • successfully cloned project using Tunnel Bear, but still have no idea what is the reason of this error... – DanDance Dec 21 '15 at 12:10
  • You may also need to install `curl` with `--with-openssl` option via brew. It helps me on OS X 10.11 (fresh install). – werediver Jan 10 '16 at 15:12

1 Answers1

0

You could use

$ brew remove git
$ brew remove curl

$ brew install openssl
$ brew install --with-openssl curl
$ brew install --with-brewed-curl --with-brewed-openssl git
Danlsk
  • 1
  • 6