Repository navigation
Closed
Description
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
JeremyRubin commentedon Apr 3, 2026
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...
fanquake commentedon Apr 4, 2026
Sure. One issue is that I don't think we know what files are needed, it's whatever
vcpkgdecides to download. cc @hodlinator @hebasto Any thoughts?maflcko commentedon Apr 7, 2026
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.
hodlinator commentedon Apr 7, 2026
(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.
Merge bitcoin/bitcoin#35024: ci: Mitigate network issues in native Wi…
Merge bitcoin/bitcoin#35024: ci: Mitigate network issues in native Wi…
Merge bitcoin/bitcoin#35024: ci: Mitigate network issues in native Wi…
Merge bitcoin/bitcoin#35024: ci: Mitigate network issues in native Wi…