-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: workflows failing due to "Connection timed out" errors #1162
Comments
Assign me to me |
This is really strange. I am trying to reproduce locally with both clearnet and behind several VPNs with no avail. What do you guys think on using multiple hosts in https://github.com/RCasatta/bitcoind/blob/602b86e0c0ffbafac6a83ef114c87185805db3f1/build.rs#L90-L98 as how This would be a PR in Cc @evanlinjin and @notmandatory EDIT: Don't know why the permalinks are not rendering... |
I've also not been able to reproduce this locally. I suspect it is something with github and bitcoincore.org. Could be that bitcoincore.org is rate limiting by ip subnet, and all the projects on github that are using bitcoind and electrsd crates are exceeding that limit. Could we create our own repo on github to store the binaries? Then we can use the env variable settings to point bitcoind / electrsd to that local URL. |
Yes, I see your argument now... bdk/.github/workflows/cont_integration.yml Lines 50 to 53 in 6ebdd19
What do you think about that approach? |
I think the question should be why isn't our CI cache saving it. We should be caching our dependency compilation artifacts I would have thought. |
Yeah, caching in CI would be the best course of action. Bitcoind crates also allows to specify BITCOIND_TARBALL_FILE env var and it will use that instead of downloading and it will also verify the hashes. |
Or even better use nix (and cachix) like the MR I saw only now |
Yes, I am working on that. Probably will be ready next week. |
As discussed on discord this isn't needed to complete the alpha.2 milestone. I'm moving this to the beta.0 release milestone for now. |
Describe the bug
CI workflows are randomly failing due to "Connection timed out" errors when downloading the
bitcoind
binary from "https://bitcoincore.org/bin".For example: https://github.com/bitcoindevkit/bdk/actions/runs/6459716661/job/17538503354?pr=1160
To Reproduce
Push a new PR for
master
orrelease/0.29
branch.Expected behavior
There should be no random failures.
Build environment
master
andrelease/0.29
branchesAdditional context
rust-bitcoin/bitcoind#144
The text was updated successfully, but these errors were encountered: