btcpayserver-docker
btcpayserver-docker copied to clipboard
503 Service Temporarily Unavailable` response if CF proxy is enabled
Hi,
I registed a Domain with CF. I just a Subdomain with A Record which is redirected to the IP of my Oracle Cloud instace.
On that Oracle Cloud instace is BTCPay Server deployed via Docker.
On my Main Domain I run XenForo Community System, with a API based BTCPay Payment Gateway Addon.
When I am running demo order without enabling the CF Proxy every thing working well.
Once the Proxy is activated, I get as result:
resulted in a 503 Service Temporarily Unavailable
response: Just a moment… <meta http-equiv=“Content-Type” conte (truncated…)
I have on CF active Firewall Rules:
If I deactive them, the 503 Service Temporarily Unavailable
issue still exist if the proxy is enabled for the subdomain. Only if I deactive the Proxy, every thing is working fine.
I am grateful for every recommendation to solve the issue.
I know it's a late response but these issues aren't very active so for you or anyone else. To run cloudflare proxy with BTCPayServer you must do 2 things:
- When running the BTCPayServer setup initially, you must DISABLE PROXYING on your DNS A and AAAA records so Let's Encrypt can verify and setup your SSL certificate. You can do this right before setup, and re-enable proxying on the DNS records right after setup is complete.
- You MUST set the SSL/TLS encryption mode to Full (strict).
Number two is causing your issue with cloudflare showing 503 Service Temporarily Unavailable.