Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Cannot build //... with Bazel 2.0.0 #407

@laszlocsomor

Description

@laszlocsomor

At 528c49b, build broken on Bazel CI:
https://buildkite.com/bazel/rules-webtesting-saucelabs/builds/431#011dcd84-a00f-46a7-8cf6-1fbfcd1df34f

(00:02:05) WARNING: Download from http://central.maven.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.jar failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 501 HTTPS Required
--
  | (00:02:05) ERROR: An error occurred during the fetch of repository 'scalac_rules_commons_io':
  | java.io.IOException: Error downloading [http://central.maven.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.jar] to /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/ec321eb2cc2d0f8f91b676b6d4c66c29/external/scalac_rules_commons_io/commons-io-2.6.jar: GET returned 501 HTTPS Required

Other Bazel CI projects also broke with similar errors. Culprit is, Maven repository no longer supports "http" fetches. Example fix in another repo: bazelbuild/codelabs#30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions