bazelbuild / bazelisk

A user-friendly launcher for Bazel.
Apache License 2.0
1.95k stars 300 forks source link

Could not download Bazel - bad file descriptor #565

Closed michalbogacz closed 3 months ago

michalbogacz commented 3 months ago

I'm using Bazelisk v1.19.0 installed with brew on MacOS with M1. But I have issues with downloading bazel binary for existing bazel project:

2024/03/25 12:36:54 Downloading https://releases.bazel.build/6.4.0/release/bazel-6.4.0-darwin-arm64...
2024/03/25 12:36:54 Skipping basic authentication for releases.bazel.build because no credentials found in /Users/mbogacz/.netrc
2024/03/25 12:36:54 could not download Bazel: failed to download bazel: failed to download bazel: HTTP GET https://releases.bazel.build/6.4.0/release/bazel-6.4.0-darwin-arm64 failed: Get "https://releases.bazel.build/6.4.0/release/bazel-6.4.0-darwin-arm64": dial tcp 130.211.22.235:443: connect: bad file descriptor

Any ideas what might cause this?

michalbogacz commented 3 months ago

I resolved issue. It was firewall (LuLu in my case) that was preventing to open connection.