Stuck with Cloudflare error 504? Cloudflare error 504 gateway timeout occurs when Cloudflare is unable to establish a connection with the origin web server.
This happens when Cloudflare requests a web page and gets blocked by the site’s web server or firewall or load balancer, resulting in the request timeout.
It can also occur if we change the IP address of the origin web server and did not update the same in the Cloudflare portal.
Read the full article at Cloudflare Error 504 Gateway Timeout Solution