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

mysql-shell cask needs to be updated for macos Sequoia #200164

Closed
6 tasks done
NJT145 opened this issue Jan 31, 2025 · 1 comment · Fixed by #200191
Closed
6 tasks done

mysql-shell cask needs to be updated for macos Sequoia #200164

NJT145 opened this issue Jan 31, 2025 · 1 comment · Fixed by #200191

Comments

@NJT145
Copy link

NJT145 commented Jan 31, 2025

Verification

Description of issue

I always got this error when I try to get mysql-shell with brew:

Error: Download failed on Cask 'mysql-shell' with message: Download failed: https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell-9.2.0-macos15-arm64.dmg

Any help?

Command that failed

brew install --cask mysql-shell

Output of command with --verbose --debug

==> Downloading https://formulae.brew.sh/api/cask.jws.json
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/4.4.19\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.3\)\ curl/8.7.1 --header Accept-Language:\ en --fail --remote-time --output /Users/njt145/Library/Caches/Homebrew/api/cask.jws.json --location --time-cond /Users/njt145/Library/Caches/Homebrew/api/cask.jws.json --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.19\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.3\)\ curl/8.7.1 --header Accept-Language:\ en --fail --compressed --speed-limit 100 --speed-time 5 https://formulae.brew.sh/api/cask.jws.json
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading mysql-shell
==> Cask::Installer#install
==> Printing caveats
==> Cask::Installer#fetch
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.19\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.3\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 -V
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.19\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.3\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell-9.2.0-macos15-arm64.dmg
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.19\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.3\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 -V
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.19\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.3\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head --request GET --http1.1 https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell-9.2.0-macos15-arm64.dmg
==> Downloading https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell-9.2.0-macos15-arm64.dmg
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.19\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.3\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell-9.2.0-macos15-arm64.dmg
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.19\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.3\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 -V
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.19\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.3\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head --request GET --http1.1 https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell-9.2.0-macos15-arm64.dmg
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.19\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.3\)\ curl/8.7.1 --header Accept-Language:\ en --fail --retry 3 --remote-time --output /Users/njt145/Library/Caches/Homebrew/downloads/4f4fc6199844f233c8e58ec32fc8e01f16a9ad2241ca01faf8410a3e3702df25--mysql-shell-9.2.0-macos15-arm64.dmg.incomplete --location https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell-9.2.0-macos15-arm64.dmg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0  4535    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (56) The requested URL returned error: 403
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.19\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.3\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 -V
Error: Download failed on Cask 'mysql-shell' with message: Download failed: https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell-9.2.0-macos15-arm64.dmg
/opt/homebrew/Library/Homebrew/download_strategy.rb:433:in `rescue in fetch'
/opt/homebrew/Library/Homebrew/download_strategy.rb:430:in `fetch'
/opt/homebrew/Library/Homebrew/downloadable.rb:103:in `fetch'
/opt/homebrew/Library/Homebrew/cask/download.rb:60:in `fetch'
/opt/homebrew/Library/Homebrew/cask/installer.rb:199:in `download'
/opt/homebrew/Library/Homebrew/cask/installer.rb:74:in `fetch'
/opt/homebrew/Library/Homebrew/cask/installer.rb:106:in `install'
/opt/homebrew/Library/Homebrew/cmd/install.rb:248:in `block in run'
/opt/homebrew/Library/Homebrew/cmd/install.rb:237:in `each'
/opt/homebrew/Library/Homebrew/cmd/install.rb:237:in `run'
/opt/homebrew/Library/Homebrew/brew.rb:95:in `<main>'

Output of brew doctor and brew config

~ % brew doctor
Your system is ready to brew.
~ % brew config
HOMEBREW_VERSION: 4.4.19
ORIGIN: https://github.com/Homebrew/brew
HEAD: 23facb219df8615680636ef12103bb3313f44e2a
Last commit: 4 days ago
Branch: stable
Core tap JSON: 31 Jan 10:28 UTC
Core cask tap JSON: 31 Jan 10:40 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 3.3.7 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.7/bin/ruby
CPU: octa-core 64-bit arm_ibiza
Clang: 16.0.0 build 1600
Git: 2.39.5 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.3-arm64
CLT: 16.2.0.0.1.1733547573
Xcode: 16.2
Rosetta 2: false

Output of brew tap

heroku/brew
homebrew/services
jandedobbeleer/oh-my-posh
powershell/tap
@samford
Copy link
Member

samford commented Jan 31, 2025

The cask url is correct but this issue ended up being related to upstream blocking requests based on the user agent. I addressed this in #200191, so this should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants