[Qt] Payment request via Tor and BitPay - a NO go #5204

issue Diapolo opened this issue on November 4, 2014
  1. Diapolo commented at 1:17 PM on November 4, 2014: none

    Most likely this is a no-issue for us, because we can't solve it, but perhaps we can brainstorm some ideas if we can extend error messages or reporting stuff to users.

    This is what happened, I tried to pay via BitPay using my Bitcoin Core wallet while connected to the network via Tor. After clicking the payment button on the BitPay site I got this warning displayed to me (this is from my debug.log): GUI: PaymentServer::netRequestFinished : "Kommunikationsfehler mit https://bitpay.com/i/XYZ: Error downloading https://bitpay.com/i/XYZ - server replied: Forbidden"

    I know that BitPay is using Cloudflare as hoster or technical base and that Cloudflare is blocking Tor exit nodes! This is "only" annoying if visiting their site via browser, as they offer a (stupid) captcha. But it get's totally stupid if using payment requests on their site, because of not being able to proceed.

    I had to reconnect with Tor disabled to do my payment, which sucked! Any ideas, for how we could handle such a case or error situation from a UX view?

  2. laanwj commented at 9:13 AM on November 5, 2014: member

    Even with Bitpay you can get the address/amount and pay manually. But it's kind of stupid that you can't get the payment request through tor. You should file an issue with them.

  3. Diapolo commented at 11:30 AM on November 5, 2014: none

    Done...

  4. Diapolo commented at 6:39 PM on November 6, 2014: none

    It's the cause of CloudFlare IP-based reputation system, which blocks Tor because "plenty of spam and malware uses Tor", so "few bad actors on Tor have made using Tor difficult for legitimate users". IMHO their system is fucked when using Tor and I told em exactly that. It seems they want to improve things, dunno how and when. @laanwj Anything for us that could be done for the users from us!?

  5. theuni commented at 9:05 PM on November 6, 2014: member

    @Diapolo From a quick test, cloudflare returns a 403 in this case. I'm not sure how common it is that we would see that. Maybe it's worth adding a msgbox with a hint that this may be the cause for the "tor + 403" case?

  6. Diapolo commented at 6:33 AM on November 7, 2014: none

    @theuni Right, I had the same idea, but I'm unsure how to quickly tell that the set proxy is indeed a Tor proxy (and we not only set derived it from -proxy, which doesn't need to be a Tor one)...

  7. laanwj commented at 8:30 AM on November 7, 2014: member

    @diapolo No need to be sure of that. You could add the hint either case, the user will know if he's using Tor or not so whether to regard it or not.

  8. laanwj added the label Wallet on Nov 7, 2014
  9. laanwj added the label GUI on Nov 7, 2014
  10. Diapolo closed this on Oct 31, 2015

  11. laanwj commented at 11:34 AM on October 31, 2015: member

    I think this is still an issue?

  12. laanwj reopened this on Dec 31, 2017

  13. laanwj commented at 8:43 AM on December 31, 2017: member

    I've heard reports that this is still an issue, and it became more serious now that bitpay has no way to manually specify address/amount anymore. Even when not using tor, the cloudflare protection might trigger.

  14. TheBlueMatt commented at 6:00 PM on January 3, 2018: member

    I think the appropriate fix is to encourage more wallets to use tor to send payment requests and default to using tor if there is a tor proxy configured ourselves. Not being able to send a payment request over Tor is an issue the provider needs to fix, not us.

  15. iamvinny commented at 6:45 PM on January 4, 2018: none

    They have started using "Payment Protocol" (BIP 70) recently, it's hurting my business, because my customers can't pay without a specific wallet, I'll be switching to another payment processor. BitPay is only getting worse and worse...

  16. iamvinny commented at 7:07 PM on January 4, 2018: none

    They have published an article today, explaining why this issue happens for TOR users, and a possible workaround, worth reading.

    https://support.bitpay.com/hc/en-us/articles/115003014566-Why-can-t-I-pay-a-BitPay-invoice-in-my-Tor-browser-

  17. MarcoFalke added the label Brainstorming on Jan 13, 2018
  18. Stefanie80 commented at 3:41 PM on June 21, 2018: none

    New problem: even payments using a supported wallet do not work anymore. Obviously has something to do with the cloudflare DDoS protection, wich prevents wallets from getting the payment details. R.I.P BitPay. I have now installed the wallet from bitpay itself, going to test if that works. And will also reccomend to the merchant to switch to another payment processor. This is a major setback to bitcoin as a whole, because many merchants used BitPay.

  19. Sjors commented at 3:21 PM on July 31, 2018: member

    This is still an issue as of a few days ago. As pointed out above made worse by BitPay's BIP-70 enforcement.

    One solution could be to - if a request fails - offer the user to redo the request without Tor (default "No"). That's arguably better than telling users to turn Tor off. Perhaps the message could clarify that if they alrady use a non-Tor browser to place the order, there's probably not much downside, while at the same time reminding them that combining Tor with non-Tor is problematic in general.

  20. laanwj commented at 6:34 AM on August 6, 2019: member

    Closing payment protocol specific issues; as that functionality is going to be deprecated in the near future it's not worth working on.

  21. laanwj closed this on Aug 6, 2019

  22. DrahtBot locked this on Dec 16, 2021

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-21 15:15 UTC

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