depends: Multiple `FALLBACK_DOWNLOAD_PATH`s #17234

issue dongcarl opened this issue on October 23, 2019
  1. dongcarl commented at 8:07 PM on October 23, 2019: contributor

    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.

    https://github.com/bitcoin/bitcoin/blob/bc7e721d97dc5b9f46df2a46e8101f3b6ce278fe/depends/Makefile#L17

  2. dongcarl added the label Feature on Oct 23, 2019
  3. dongcarl added the label Build system on Oct 23, 2019
  4. dongcarl added the label good first issue on Oct 23, 2019
  5. bitcoin deleted a comment on Oct 26, 2019
  6. yozaam commented at 8:43 AM on December 8, 2019: none

    The page does not exist, is the variable no longer needed ?

  7. 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.

  8. 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.

  9. 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

  10. 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.

  11. 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

  12. deadalnix referenced this in commit 5c69fab896 on Feb 23, 2021
  13. jarolrod commented at 4:41 AM on March 10, 2021: member

    Since the issue with missing dependencies on the https://bitcoincore.org/depends-sources as 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.

  14. niVelion commented at 7:12 PM on January 14, 2022: none

    Since the issue with missing dependencies on the https://bitcoincore.org/depends-sources as 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.gz is 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).

  15. 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.

  16. pinheadmz closed this on Apr 27, 2023

  17. 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
    
  18. maflcko commented at 4:52 PM on April 27, 2023: member
  19. bitcoin locked this on Apr 26, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 18:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me