fatal: unable to access 'https://github.com/Homebrew/brew/': error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number Failed during: git fetch origin master:refs/remotes/origin/master --tags --force


(Phamotcreations) #1

fatal: unable to access ‘https://github.com/Homebrew/brew/’: error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number

Failed during: git fetch origin master:refs/remotes/origin/master --tags --force


(Sean Molenaar) #2

If you want help with a potential issue I’m going to need some context to this error.


(Steve Byan) #3

No idea if this is similar to the OP’s issue, but brew update started behaving badly recently with a similar error message. I’m on MacOS 10.14.2, brew --version 1.7.2-59-g0af24cf, and behind a non-transparent https proxy. brew update gives me this:
fatal: unable to access ‘https://github.com/Homebrew/brew/’: error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number

fatal: unable to access ‘https://github.com/Homebrew/homebrew-core/’: error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number

Error: Fetching /usr/local/Homebrew failed!

Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed!

Attempting to reinstall homebrew results in this error:
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number