Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL error when downloading from homebrew.bintray.com #10739

Closed
1 task done
wagnerand opened this issue Feb 28, 2021 · 47 comments
Closed
1 task done

SSL error when downloading from homebrew.bintray.com #10739

wagnerand opened this issue Feb 28, 2021 · 47 comments
Labels
bug Reproducible Homebrew/brew bug outdated PR was locked due to age

Comments

@wagnerand
Copy link

wagnerand commented Feb 28, 2021

brew config output

HOMEBREW_VERSION: 3.0.2-112-g236c622
ORIGIN: https://github.com/Homebrew/brew
HEAD: 236c622b201fc00c36d7cf89d38ecb95db148c1c
Last commit: 12 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 2eac3c31694fe4a1a4a4ee69d32215eddb949b16
Core tap last commit: 43 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit kabylake
Clang: 12.0 build 1200
Git: 2.30.1 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.2.2-x86_64
CLT: 12.4.0.0.1.1610135815
Xcode: 12.4

brew doctor output

Your system is ready to brew.

  • The brew doctor above contains no "Warning" lines.

What were you trying to do (and why)?

brew upgrade

What happened (include all command output)?

% brew upgrade -v
==> Upgrading 4 outdated packages:
boost 1.75.0_1 -> 1.75.0_2
icu4c 67.1 -> 68.2
harfbuzz 2.7.4 -> 2.7.4_1
node 15.10.0 -> 15.10.0_1
==> Upgrading icu4c 67.1 -> 68.2
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2-112-g236c622\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 11.2.2\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://homebrew.bintray.com/bottles/icu4c-68.2.big_sur.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/icu4c-68.2.big_sur.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2-112-g236c622\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 11.2.2\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --range 0-1 --dump-header - --write-out \%\{http_code\} --output /dev/null https://homebrew.bintray.com/bottles/icu4c-68.2.big_sur.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2-112-g236c622\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 11.2.2\)\ curl/7.64.1 --header Accept-Language:\ en --fail --retry 3 --location --remote-time --continue-at 0 --output /Users/andreas/Library/Caches/Homebrew/downloads/9f189274160b8c0c4884e1b43cd8fb135852a035496379bf9dc447028120d8da--icu4c-68.2.big_sur.bottle.tar.gz.incomplete https://homebrew.bintray.com/bottles/icu4c-68.2.big_sur.bottle.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
Error: Failed to download resource "icu4c"
Download failed: https://homebrew.bintray.com/bottles/icu4c-68.2.big_sur.bottle.tar.gz
==> Upgrading boost 1.75.0_1 -> 1.75.0_2
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2-112-g236c622\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 11.2.2\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://homebrew.bintray.com/bottles/icu4c-68.2.big_sur.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/icu4c-68.2.big_sur.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2-112-g236c622\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 11.2.2\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --range 0-1 --dump-header - --write-out \%\{http_code\} --output /dev/null https://homebrew.bintray.com/bottles/icu4c-68.2.big_sur.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2-112-g236c622\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 11.2.2\)\ curl/7.64.1 --header Accept-Language:\ en --fail --retry 3 --location --remote-time --continue-at 0 --output /Users/andreas/Library/Caches/Homebrew/downloads/9f189274160b8c0c4884e1b43cd8fb135852a035496379bf9dc447028120d8da--icu4c-68.2.big_sur.bottle.tar.gz.incomplete https://homebrew.bintray.com/bottles/icu4c-68.2.big_sur.bottle.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
Error: Failed to download resource "icu4c"
Download failed: https://homebrew.bintray.com/bottles/icu4c-68.2.big_sur.bottle.tar.gz

[...same for other packages...]

What did you expect to happen?

Upgrade completes successfully

Step-by-step reproduction instructions (by running brew commands)

Run brew upgrade -v, see above.

@wagnerand wagnerand added the bug Reproducible Homebrew/brew bug label Feb 28, 2021
@wagnerand wagnerand changed the title SSL error when downloading from /homebrew.bintray.com SSL error when downloading from homebrew.bintray.com Feb 28, 2021
@pridkett
Copy link

pridkett commented Feb 28, 2021

Confirm the same problem on MacOS 10.15.7. ISP is Spectrum as sometimes that has something to do with it too.

$ brew config
HOMEBREW_VERSION: 3.0.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: b712bcc01e8fdaae25d6f232f51637bf00db307f
Last commit: 6 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 2eac3c31694fe4a1a4a4ee69d32215eddb949b16
Core tap last commit: 51 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.xCfFz0deER/org.macosforge.xquartz:0
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: quad-core 64-bit broadwell
Clang: 11.0 build 1100
Git: 2.28.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 10.15.7-x86_64
CLT: 11.0.33.17
Xcode: 12.4
XQuartz: 2.7.11 => /opt/X11

I was trying to upgrade git-delta. Looks like it's a bintray problem:

$ curl -vvvv https://homebrew.bintray.com/bottles/git-delta-0.6.0.catalina.bottle.tar.gz
*   Trying 99.84.208.57...
* TCP_NODELAY set
* Connected to homebrew.bintray.com (99.84.208.57) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
* Closing connection 0
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number

Download also fails in Firefox with the error: SSL_ERROR_NO_CYPHER_OVERLAP

Despite that, the bintray status page says everything is fine.

@DrDonk

This comment has been minimized.

@Bo98
Copy link
Member

Bo98 commented Feb 28, 2021

Despite that, the bintray status page says everything is fine.

Could possibly be CDN related (Bintray use AWS Cloudfront). It is working fine for me in the UK.

@the-dr-lazy
Copy link

Same issue on GitHub actions.

brew install libjwt
/bin/bash --noprofile --norc -eo pipefail /tmp/knicknic/os-specific-run/412a92a6-9412-4c03-b5b4-b63794aa3deb
==> Downloading https://homebrew.bintray.com/bottles/jansson-2.13.1.catalina.bottle.tar.gz
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
Error: Failed to download resource "jansson"
Download failed: https://homebrew.bintray.com/bottles/jansson-2.13.1.catalina.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://digip.org/jansson/releases/jansson-2.13.1.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/libjwt-1.12.1.catalina.bottle.tar.gz
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
Error: Failed to download resource "libjwt"
Download failed: https://homebrew.bintray.com/bottles/libjwt-1.12.1.catalina.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://homebrew.bintray.com/bottles/automake-1.16.3.catalina.bottle.tar.gz
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
Error: Failed to download resource "automake"
Download failed: https://homebrew.bintray.com/bottles/automake-1.16.3.catalina.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://git.savannah.gnu.org/cgit/config.git/snapshot/config-0b5188819ba6091770064adf26360b204113317e.tar.gz
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to git.savannah.gnu.org:443 
Error: Failed to download resource "automake--config"
Download failed: https://git.savannah.gnu.org/cgit/config.git/snapshot/config-0b5188819ba6091770064adf26360b204113317e.tar.gz
Error: The process '/bin/bash' failed with exit code 1

@syntopikon

This comment has been minimized.

@carlocab
Copy link
Member

Same error on Homebrew CI.

@pyrox0

This comment has been minimized.

@ekinnee
Copy link

ekinnee commented Feb 28, 2021

Does it have anything to do with this? Homebrew/discussions#691

@Bo98
Copy link
Member

Bo98 commented Feb 28, 2021

No, that happens in May. This is just an outage - and seemingly one only affecting certain regions.

@ekinnee
Copy link

ekinnee commented Feb 28, 2021

Also, if you NEED to upgrade you can build from source.

@pyrox0
Copy link

pyrox0 commented Feb 28, 2021

US East coaster here, it seems to be working again.

@unikitty37
Copy link

unikitty37 commented Feb 28, 2021

Still failing here (UK):

macOS 10.14.6 (18G8022)
Homebrew 3.0.2
Homebrew/homebrew-core (git revision 6a059e; last commit 2021-02-28)
Homebrew/homebrew-cask (git revision 7678095; last commit 2021-02-28)

└─▷ brew upgrade -v ansible
==> Upgrading 1 outdated package:
ansible 2.10.7 -> 3.0.0
==> Upgrading ansible 2.10.7 -> 3.0.0
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.6\)\ curl/7.54.0 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://homebrew.bintray.com/bottles/mpdecimal-2.5.1.mojave.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/mpdecimal-2.5.1.mojave.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.6\)\ curl/7.54.0 --header Accept-Language:\ en --retry 3 --location --range 0-1 --dump-header - --write-out \%\{http_code\} --output /dev/null https://homebrew.bintray.com/bottles/mpdecimal-2.5.1.mojave.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.6\)\ curl/7.54.0 --header Accept-Language:\ en --fail --retry 3 --location --remote-time --continue-at 0 --output /Users/user/Library/Caches/Homebrew/downloads/81f5f82c87fb624c3581143afc1f1aa78f8fecab90f98f001df6dd552841e380--mpdecimal-2.5.1.mojave.bottle.tar.gz.incomplete https://homebrew.bintray.com/bottles/mpdecimal-2.5.1.mojave.bottle.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
Error: Failed to download resource "mpdecimal"
Download failed: https://homebrew.bintray.com/bottles/mpdecimal-2.5.1.mojave.bottle.tar.gz

I don't suppose Homebrew has an option for ignoring SSL errors?

@pyrox0
Copy link

pyrox0 commented Feb 28, 2021

It seems to be a server-side cert error, so I don't think a local toggle will help.

@ekinnee
Copy link

ekinnee commented Feb 28, 2021

Still failing here (UK):

macOS 10.14.6 (18G8022)
Homebrew 3.0.2
Homebrew/homebrew-core (git revision 6a059e; last commit 2021-02-28)
Homebrew/homebrew-cask (git revision 7678095; last commit 2021-02-28)

└─▷ brew upgrade -v ansible
==> Upgrading 1 outdated package:
ansible 2.10.7 -> 3.0.0
==> Upgrading ansible 2.10.7 -> 3.0.0
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.6\)\ curl/7.54.0 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://homebrew.bintray.com/bottles/mpdecimal-2.5.1.mojave.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/mpdecimal-2.5.1.mojave.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.6\)\ curl/7.54.0 --header Accept-Language:\ en --retry 3 --location --range 0-1 --dump-header - --write-out \%\{http_code\} --output /dev/null https://homebrew.bintray.com/bottles/mpdecimal-2.5.1.mojave.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.6\)\ curl/7.54.0 --header Accept-Language:\ en --fail --retry 3 --location --remote-time --continue-at 0 --output /Users/user/Library/Caches/Homebrew/downloads/81f5f82c87fb624c3581143afc1f1aa78f8fecab90f98f001df6dd552841e380--mpdecimal-2.5.1.mojave.bottle.tar.gz.incomplete https://homebrew.bintray.com/bottles/mpdecimal-2.5.1.mojave.bottle.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
Error: Failed to download resource "mpdecimal"
Download failed: https://homebrew.bintray.com/bottles/mpdecimal-2.5.1.mojave.bottle.tar.gz

I don't suppose Homebrew has an option for ignoring SSL errors?

I think there is, but the Bintray site itself is unreachable for me in North Central Texas, not just the SSL side.

@wagnerand
Copy link
Author

I don't suppose Homebrew has an option for ignoring SSL errors?

Personally, I'd rather wait for the issue to be resolved than to ignore the security provided by SSL.

@vincentbernat
Copy link

The remote end is not speaking SSL: it's speaking in plain text. Check http://homebrew.bintray.com:443/ with a browser.

@fluffy
Copy link

fluffy commented Feb 28, 2021

This seems to be more the CDN can't connect to the server. If you do just go to http://homebrew.bintray.com/ (no https) with a browser, you will get an error from the CDN of

403 ERROR
The request could not be satisfied.
Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
Generated by cloudfront (CloudFront)
Request ID: 6DYVF26w8y8gGxPhclHORfebbB4aehGPr1rGG7eLRqzsCvjO8QD75Q==

@MostlyEmre

This comment has been minimized.

@gmkey
Copy link
Contributor

gmkey commented Feb 28, 2021

Homebrew/discussions#962

@retokromer
Copy link
Contributor

Same in Switzerland:

curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number

@neverfox
Copy link

Same in NC USA. Not sure if it's related but I had run a brew upgrade just prior to outage and openssl 1.1.1j was poured in that update.

@riasat-pathlit
Copy link

Singapore (possibly region) is affected as well since 2330-ish

@kapitainsky
Copy link

in UK all worked yesterday but does not today. openssl 1.1.1j was updated on 19th of Feb - so do not think it is related.

@lucacasonato
Copy link

Responding to this issue with "Me too!" without any additional context is not useful. Please use the 👍 button on the original message (and the subscribe button if you want to be notified about comments) unless you have something meaningful to add that could help in fixing this issue.

@ghost
Copy link

ghost commented Feb 28, 2021

The remote end is not speaking SSL: it's speaking in plain text. Check http://homebrew.bintray.com:443/ with a browser.

This is CloudFront's normal behavior if you send a HTTP request to the HTTPS port. Try with "http://aws.amazon.com:443" for the same behavior (in cURL, in a browser it may automatically upgrade you to HTTPS through HSTS).

@ghost
Copy link

ghost commented Feb 28, 2021

As a temporary workaround, I've found adding this to your /etc/hosts works:
54.188.157.32 homebrew.bintray.com

It looks like the bintray subdomains are all now CNAMEs to jfrog.com without valid certificates, so CloudFront drops the connection. This IP is one that was found on a bintray.com subdomain a few days ago:
image
image

@ghost

This comment has been minimized.

@Bo98
Copy link
Member

Bo98 commented Feb 28, 2021

As a workaround, you may temporarily use HOMEBREW_BOTTLE_DOMAIN=https://dl.bintray.com/homebrew (don't do this permanently or you'll have issues when we switch over from Bintray in the coming weeks)

@KevinVitale

This comment has been minimized.

carlocab added a commit to carlocab/homebrew-core that referenced this issue Feb 28, 2021
This is a temporary workaround for the Bintray access issues. See

    Homebrew/brew#10739 (comment)
@brunaschneiders
Copy link

As a workaround, you may temporarily use HOMEBREW_BOTTLE_DOMAIN=https://dl.bintray.com/homebrew (don't do this permanently or you'll have issues when we switch over from Bintray in the coming weeks)

Hi, how can I do that?

@ghost
Copy link

ghost commented Feb 28, 2021

Hi, how can I do that?

export HOMEBREW_BOTTLE_DOMAIN=https://dl.bintray.com/homebrew

@sfuerte
Copy link

sfuerte commented Feb 28, 2021

The remote end is not speaking SSL: it's speaking in plain text. Check http://homebrew.bintray.com:443/ with a browser.

This is CloudFront's normal behavior if you send a HTTP request to the HTTPS port. Try with "http://aws.amazon.com:443" for the same behavior (in cURL, in a browser it may automatically upgrade you to HTTPS through HSTS).

@ayypril, while it's a normal behaviour but it works when an endpoint recognizes and serves both HTTP & HTTPS. In this case it looks like due to misconfiguration HTTPS has been disabled and only HTTP is enabled at the moment.

Here was a very similar issue - kubernetes/ingress-nginx#3556

carlocab added a commit to Homebrew/homebrew-core that referenced this issue Feb 28, 2021
This is a temporary workaround for the Bintray access issues. See

    Homebrew/brew#10739 (comment)
@sfuerte
Copy link

sfuerte commented Feb 28, 2021

Hi, how can I do that?

export HOMEBREW_BOTTLE_DOMAIN=https://dl.bintray.com/homebrew

or inline

HOMEBREW_BOTTLE_DOMAIN=https://dl.bintray.com/homebrew brew upgrade

@PassionPenguin
Copy link

PassionPenguin commented Feb 28, 2021

Solution for Chinese users

Well if you are using Tuna (Like many other developers in China), you can use the bottles from tsinghua university or other mirrors:

https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/

if [[ "$(uname -s)" == "Linux" ]]; then BREW_TYPE="linuxbrew"; else BREW_TYPE="homebrew"; fi
export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git"
export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/${BREW_TYPE}-core.git"
export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/${BREW_TYPE}-bottles"

=>

penguin@Penguins-MacBook-Pro ~ % brew install openssl                  
==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/bottles/op
######################################################################## 100.0%
==> Pouring openssl@1.1-1.1.1j.big_sur.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl@1.1/certs

and run
  /usr/local/opt/openssl@1.1/bin/c_rehash

openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.

If you need to have openssl@1.1 first in your PATH, run:
  echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc

For compilers to find openssl@1.1 you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"

For pkg-config to find openssl@1.1 you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"

==> Summary
🍺  /usr/local/Cellar/openssl@1.1/1.1.1j: 8,071 files, 18.5MB
Removing: /usr/local/Cellar/openssl@1.1/1.1.1g... (8,059 files, 18MB)
Removing: /usr/local/Cellar/openssl@1.1/1.1.1h... (8,067 files, 18.5MB)
Removing: /Users/penguin/Library/Caches/Homebrew/openssl@1.1--1.1.1i.big_sur.bottle.tar.gz... (5.4MB)

@ghost

This comment has been minimized.

@vijayhardaha

This comment has been minimized.

@bglezseoane
Copy link

Despite that, the bintray status page says everything is fine.

Could possibly be CDN related (Bintray use AWS Cloudfront). It is working fine for me in the UK.

Changing VPN location to UK solves issue for me. Before I was connected to a server in Spain and I got this error.

@amingilani
Copy link

As a temporary workaround, I've been using the Nix package manager to search and install packages.

@ljharb
Copy link

ljharb commented Feb 28, 2021

The env var workaround doesn’t seem to be working for nvm: https://github.com/ljharb/nvm/runs/1999125389

@Bo98
Copy link
Member

Bo98 commented Feb 28, 2021

For Linux, the URL should contain linuxbrew instead of homebrew.

I'm hearing reports that this is starting to work for people without any workaround (just as I was considering releasing a workaround update!). Does it work for anyone now?

Give this comment 👍 or a 👎 if it's now working or not working for you without the workaround.

@ghost
Copy link

ghost commented Feb 28, 2021

@Bo98 It does indeed look like Bintray's fixed their DNS. Works for me without any workaround now.

;; ANSWER SECTION:
homebrew.bintray.com.	59	IN	CNAME	dl.bintray.com.
dl.bintray.com.		59	IN	A	54.68.82.35
dl.bintray.com.		59	IN	A	52.27.102.247
dl.bintray.com.		59	IN	A	52.41.162.188
dl.bintray.com.		59	IN	A	52.24.200.146
dl.bintray.com.		59	IN	A	52.32.87.245
dl.bintray.com.		59	IN	A	44.239.142.179
dl.bintray.com.		59	IN	A	44.229.253.11
dl.bintray.com.		59	IN	A	52.36.31.250

@ljharb
Copy link

ljharb commented Feb 28, 2021

Confirmed; it seems to be fixed.

@dtrodrigues
Copy link
Member

Closing as the Bintray issue is now resolved.

@Bo98 Bo98 unpinned this issue Feb 28, 2021
@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Mar 31, 2021
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Mar 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/brew bug outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests