Skip to content

ci: intermittent failure in Windows CI #34996

Closed

Description

@fanquake

https://github.com/bitcoin/bitcoin/actions/runs/23945053179/job/69839333752?pr=34978#step:8:587:

Downloading https://github.com/boostorg/mpl/archive/boost-1.88.0.tar.gz -> boostorg-mpl-boost-1.88.0.tar.gz
error: https://github.com/boostorg/mpl/archive/boost-1.88.0.tar.gz: failed: status code 502
note: If you are using a proxy, please ensure your proxy settings are correct.
Possible causes are:
1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable to `https://address:port`.
This is not correct, because `https://` prefix claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr, etc...) is an HTTP proxy.
Try setting `http://address:port` to both HTTP_PROXY and HTTPS_PROXY instead.
2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings set by your proxy software. See: https://github.com/microsoft/vcpkg-tool/pull/77
The value set by your proxy might be wrong, or have same `https://` prefix issue.
3. Your proxy's remote server is out of service.
If you believe this is not a temporary download server failure and vcpkg needs to be changed to download this file from a different location, please submit an issue to https://github.com/Microsoft/vcpkg/issues
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:136 (message):
  Download failed, halting portfile.
Call Stack (most recent call first):
  scripts/cmake/vcpkg_from_github.cmake:120 (vcpkg_download_distfile)
  C:/Users/runneradmin/AppData/Local/vcpkg/registries/git-trees/6cdd95078ed4dc9bd700884cfc132dca24a99013/portfile.cmake:3 (vcpkg_from_github)
  scripts/ports.cmake:206 (include)

We have recently added logic, to try and prevent these kinds of intermittent failures, by retrying. Seen here: https://github.com/bitcoin/bitcoin/actions/runs/23945053179/job/69839333752?pr=34978#step:8:738)

Maybe we should retry more aggressively?

Activity

  1. JeremyRubin commented on Apr 3, 2026

    @JeremyRubin
    Contributor

    maybe they should just get downloaded once and put multiple somewheres under bitcoin control that is easy to retrieve, rather than through a github based archive?

    Rather than retrying against the same endpoints...

  2. fanquake commented on Apr 4, 2026

    @fanquake
    MemberAuthor

    Sure. One issue is that I don't think we know what files are needed, it's whatever vcpkg decides to download. cc @hodlinator @hebasto Any thoughts?

  3. maflcko commented on Apr 7, 2026

    @maflcko
    Member

    There could be a second re-try after 50 seconds or so, but with a 502 error, it is unclear how long it will take to come back.

    I think the GHA VMs are also randomly disappearing during a run, leading to a 2 hour timeout, which happens more often than this issue, so it may also be fine to accept this issue as-is and deal with it as part of dealing with the other GHA VM issues/timeouts. That is, by manually re-running it on network errors or other timeouts.

  4. hodlinator commented on Apr 7, 2026

    @hodlinator
    Contributor

    (I'm not familiar with vcpkg proxying/caching). Sad that GitHub itself cannot be relied upon. A week or so ago I had to change my NixOS setup to use a GitHub authentication token to avoid "Resource temporarily unavailable" errors. But that's different from 502 Bad Gateway.

  5. added a commit that references this issue on Apr 19, 2026
  6. added a commit that references this issue on Jun 28, 2026
  7. added a commit that references this issue on Jun 30, 2026
  8. added a commit that references this issue on Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions