contrib/signet/getcoins.py no longer useable #29679

issue weirdwhala openend this issue on March 20, 2024
  1. weirdwhala commented at 1:04 am on March 20, 2024: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    got Unexpected error when contacting faucet: 403 Client Error: Forbidden for url: https://signetfaucet.com/captcha seems because the captcha itself add some anti-bot framework

    Expected behaviour

    successfully run

    Steps to reproduce

    just run ./getcoins.py –cmd ../../src/bitcoin-cli

    Relevant log output

    No response

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    latest

    Operating system and version

    macos

    Machine specifications

    No response

  2. willcl-ark commented at 2:14 pm on March 20, 2024: member

    Thanks for the report.

    I think thic could be a result of cloudflare implementing anti-bot JS checks. I am able to retrieve the captcha using curl -v https://signetfaucet.com/captcha, also using HTTP1.1 (which I think requests is limited to?), but unable using python.

    Perhaps @kallewoof can shed some light on whether using Cloudflare is new to this site and if it therefore is what’s caused the breakage?

    It seems that even other options would provide only intermittent results at best (until Cloudflare changes blocking heuristics)…

  3. willcl-ark added the label Scripts and tools on Mar 20, 2024
  4. kallewoof commented at 3:08 pm on March 23, 2024: member
    I believe this is due to the “under attack” mode I enabled when the faucet was pummeled back a while ago. I dropped to “high security” level. Does this fix the issue?
  5. willcl-ark commented at 9:27 am on April 4, 2024: member

    Thanks @kallewoof, I can confirm that the script is now working again as expected:

    image

    Hopefully “attack mode” is not needed again :)

    Closing for now.

  6. willcl-ark closed this on Apr 4, 2024

  7. sutt0n commented at 9:11 pm on July 13, 2024: none
    @willcl-ark @kallewoof It seems that this issue is still occurring, or at least there’s another issue related to this one with the Signet faucet – is the faucet drained, or non-functioning at the moment? I’ve failed to get any transactions to go through whenever it says “A pay-out has been queued”

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: 2024-09-28 22:12 UTC

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