Unknown SSL protocol error in connection to homebrew

(Thais Thecat) #1


First sorry for my english, I am a french girl with not a very good english
So, I am trying to install/update brew on my old mac 10.6.8 and I got this error message when I do “brew update” but each time the same error message with "brew doctor, update …

brew doctor
==> Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.3.7.leopard_64.bottle.tar.gz
curl: (35) Unknown SSL protocol error in connection to homebrew.bintray.com:443
==> Downloading “same ruby link as previous”
curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Error: Failed to download “same ruby link as previous”!

Do not file an issue on GitHub about this: you will need to figure out for
yourself what issue with your internet connection restricts your access to
both Bintray (used for Homebrew bottles/binary packages) and GitHub
(used for Homebrew updates).
Error: Failed to install vendor Ruby.

An idea to help me ?
for information :
curl --version
curl 7.61.0 (x86_64-apple-darwin10.8.0) libcurl/7.61.0 OpenSSL/1.0.2o zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5)
Release-Date: 2018-07-11
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy PSL

which curl

Thanks !

(Sean Molenaar) #2

Your English seems a lot better than my French so don’t worry about it.

As for your issue, Homebrew officially only supports up to 3 macOS versions back (el captain for now) so it’s gonna be a little more difficult to debug.
What happens if you manually do wget --verbose https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.3.7.leopard_64.bottle.tar.gz

(Thais Thecat) #3

Thanks for my english :relaxed:

Here the result of your request :
wget --verbose https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.3.7.leopard_64.bottle.tar.gz
–2018-08-02 17:06:50-- (same link remove due to forum restriction)
Resolving homebrew.bintray.com…
Connecting to homebrew.bintray.com||:443… connected.
Unable to establish SSL connection.

But I don’t know what to do next …

Thanks for helping me


(Sean Molenaar) #4

Too bad that failed too, I guess we’ll have to tell homebrew not to use https then.

What happens when you run HOMEBREW_BOTTLE_DOMAIN=http://homebrew.bintray.com brew update?

(Thais Thecat) #5

Hello Sean

It seems to be better but not full done.
the result is the following :
==> Installing dependencies for git: xz
==> Installing git dependency: xz
==> Downloading https://downloads.sourceforge.net/project/lzmautils/xz-5.2.4.tar.gz
curl: (77) error setting certificate verify locations:
CAfile: /usr/local/etc/openssl/cert.pem
CApath: /usr/local/etc/openssl/certs
Trying a mirror…
==> Downloading (cf. post after for link due to forum restrictions)

curl: (77) error setting certificate verify locations:
CAfile: /usr/local/etc/openssl/cert.pem
CApath: /usr/local/etc/openssl/certs
Error: Failed to download resource “xz”
Download failed: (cf. post after for link due to forum restrictions)
Error: Git must be installed and in your PATH!

I think you found the good way with the https problem
Do you know what I have to do next ?

Thank you another time


(Thais Thecat) #6

The missing link is

(Mike McQuaid) #7

You may have better luck using https://github.com/mistydemeo/tigerbrew.