问题回溯
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services'...
fatal: unable to access 'https://github.com/Homebrew/homebrew-services/': error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-services /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services --origin=origin --template= --config core.fsmonitor=false` exited with 128.
好久没用brew 命令差点翻车,今天也是重新整理了下解决思路,假如你也在执行如下命令出现该问题那就一起看看解决方案:
brew install xx
brew update xx
brew services list
brew tap xxx
...
解决方案
这个错误实际就是SSL握手的错误,而这个错误的导火索是你直接使