Right now we can only have a single FALLBACK_DOWNLOAD_PATH, but ideally we should be able to have many of them and try them sequentially.
depends: Multiple `FALLBACK_DOWNLOAD_PATH`s #17234
issue dongcarl opened this issue on October 23, 2019-
dongcarl commented at 8:07 PM on October 23, 2019: contributor
- dongcarl added the label Feature on Oct 23, 2019
- dongcarl added the label Build system on Oct 23, 2019
- dongcarl added the label good first issue on Oct 23, 2019
- bitcoin deleted a comment on Oct 26, 2019
-
yozaam commented at 8:43 AM on December 8, 2019: none
The page does not exist, is the variable no longer needed ?
-
maflcko commented at 7:58 PM on December 9, 2019: member
I won't object this, but I think the source should be reliable in the first place. If it is randomly down, a highly reliable mirror should jump in. Allowing for a second mirror might just lead to having three unreliable download sources for depends instead of two highly reliable ones. Thus, decreasing overall reliability.
-
laanwj commented at 9:34 AM on December 10, 2019: member
The page does not exist, is the variable no longer needed ?
There's no page as such, but the individual files should be under there.
-
yozaam commented at 5:39 PM on January 9, 2020: none
The page does not exist, is the variable no longer needed ?
There's no page as such, but the individual files should be under there.
I'm sorry for being a noob, but I didn't understand.. Can i view these files? Is that endpoint just for the API and there is no front end, or has it been removed, I'm really grateful ; if someone could delete my confusion
-
maflcko commented at 5:42 PM on January 9, 2020: member
Is that endpoint just for the API
Yes, it is only a fallback URL for curl. Not for browsers or human users.
-
yozaam commented at 5:44 PM on January 9, 2020: none
Is that endpoint just for the API
Yes, it is only a fallback URL for curl. Not for browsers or human users.
Thank you very much, I understand now, so to get around this, we just have to host it at one more location, to give the fallback a fallback? Just like commits c897b1e fe740f1 by theuni when the fallback was added
OR we just change it to a more reliable mirror as you said, that might be better
- deadalnix referenced this in commit 5c69fab896 on Feb 23, 2021
-
jarolrod commented at 4:41 AM on March 10, 2021: member
Since the issue with missing dependencies on the
https://bitcoincore.org/depends-sourcesas well as the blocking issue preventing updates on the fallback has been fixed, this fallback is a "highly reliable mirror" and this can be closed.Otherwise, @MarcoFalke you started https://drahtbot.space/depends_download_fallback. If we still want to add a second mirror, then this should be the choice.
-
niVelion commented at 7:12 PM on January 14, 2022: none
Since the issue with missing dependencies on the
https://bitcoincore.org/depends-sourcesas well as the blocking issue preventing updates on the fallback has been fixed, this fallback is a "highly reliable mirror" and this can be closed.Open issue #22556 mentions that for example
capnproto-c++-0.7.0.tar.gzis missing from the fallback, I see you commented on that issue too (a few months after this one).I can see at least some of the dependencies mentioned in that issue are still missing from the fallback url (I didn't check all of them).
-
pinheadmz commented at 2:04 PM on April 27, 2023: member
This issue is unlikely to be fixed in Bitcoin Core. We'll close for now, but feel free to open another issue or pull request with a fix.
- pinheadmz closed this on Apr 27, 2023
-
maflcko commented at 4:50 PM on April 27, 2023: member
For reference, for now I am using this diff locally to get the depends from a ipv6 (cloudflare):
diff --git a/depends/Makefile b/depends/Makefile index 27bf804..768db6b 100644 --- a/depends/Makefile +++ b/depends/Makefile @@ -45,7 +45,7 @@ NO_USDT ?= NO_NATPMP ?= MULTIPROCESS ?= LTO ?= -FALLBACK_DOWNLOAD_PATH ?= https://bitcoincore.org/depends-sources +FALLBACK_DOWNLOAD_PATH ?= https://drahtbot.space/depends_download_fallback C_STANDARD ?= c11 CXX_STANDARD ?= c++17 -
maflcko commented at 4:52 PM on April 27, 2023: member
- bitcoin locked this on Apr 26, 2024