Getting the following error when downloading and installing from brew.
MacOs - 11.5.2
MongoDB version - 5.0
Error log -
brew tap mongodb/brew
brew install mongodb-community@5.0
==> Installing mongodb-community from mongodb/brew
==> Downloading https://fastdl.mongodb.org/tools/db/mongodb-database-tools-macos-x86_64-100.5.0.zip
Already downloaded: /Users/shbatra/Library/Caches/Homebrew/downloads/e5c65fe138fb86cbc38b086b8bb3a9e665eb5d4f39dad182769b3ced10715707--mongodb-database-tools-macos-x86_64-100.5.0.zip
==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/manifests/69.1
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=# #
curl: (6) Could not resolve host: ghcr.io
Error: Failed to download resource "icu4c_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/icu4c/manifests/69.1