Why are brew update and brew upgrade so unreliable nowadays? Download errors and timeouts all the time for several weeks now. #4447
Replies: 2 comments 8 replies
-
Try downloading those files outside of brew using your 24x7 monitoring system to see if it might be an issue with your connection to GitHub. Additionally, since those domains are hosted by GitHub you might want to check https://www.githubstatus.com/ if you're having issues. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem since upgrading macOS 15.1 (or maybe it's just a coincidence of timing.) I thought this was just a DNS problem. But it's not--I cannot access any IPV4 address associated with homebrew.github.io from my plain-networked computer, but I can access the same IP addresses when accessing through a VPN IN MY SAME COUNTRY. Anyone know why bare IP addresses might not work from no-VPN, and would work via VPN from the same country? |
Beta Was this translation helpful? Give feedback.
-
Output of
brew config
Output of
brew doctor
Description of issue
I've been using HomeBrew for several years, mostly on Intel Macs but more recently (past year or so) also on Linux and ARM Macs. I have always found it easy to use and very reliable but these past few months things seem to have degraded a lot. I am now finding that 'brew update' and 'brew upgrade' are:
a) Very slow in general
b) Regularly fail (as in 90%+ of the time).
The failures are mainly:
Error: Failed to download https://formulae.brew.sh/api/formula.jws.json
or
Error: Failed to download https://formulae.brew.sh/api/cask.jws.json
But I do frequently often see errors with downloading items from https://ghcr.io and https://pkg-containers.githubusercontent.com
I'm sure someone will say that this is just problem with my Internet connection, but I really do not think so. M
I have a high grade connection which is monitored 24x7 for all kinds of issues. I do sometimes see transient issues (very infrequently) but otherwise the connection is rock solid and is in use 24x365. if there were some general issues then I would know about them.
I hope that someone somewhere can help figure out thsi issue as currently HomeBrew is almost unusable for me, which is a severe problem...
Beta Was this translation helpful? Give feedback.
All reactions