When using the brew-install step, brew update fails with the error the remote end hung up unexpectedly.
Environment:
Stack MacOS 10.14
Xcode 10.3.x
Brew install 0.9.0
Reproducibility
When using the brew-install step, brew update fails with the error the remote end hung up unexpectedly.
Local reproduction
Cannot be reproduced locally.
Local reproduction: Linux / Android (docker based) stack builds
Cannot be reproduced locally.
Build log
$ brew update
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask failed!
I believe Homebrew was experiencing some downtime for selective users this afternoon. I wasn’t able to brew update on my own machine for about 2 hours this afternoon but it’s working again.
[34;1m$ brew updatee[0m
fatal: unable to access 'https://github.com/Homebrew/homebrew-cask/': transfer closed with outstanding read data remaining
Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask failed!
We’re unfortunately still not able to reproduce the issue in-house, not on our own machines or on our build VMs. Unfortunately this appears to be a performance issue on either the homebrew or cask maintainer’s CDN. There’s not really much we can do to help a resolution along, unfortunately.
We’ve seen people have luck running their brew installs and updates in dedicated script steps, but this is most likely just down to the intermittency of the connectivity issue itself.
Regardless, reporting your brew issues here is helpful and appreciated, as it’s our best way to gauge if these issues on the brew side are continuing, so thank you.