HI All,
We have configured magento website with cloud-fare. we got 504 error intermittently. How can we fix this issue
A 504 Gateway Timeout error by CloudFlare usually means that CloudFlare isn't able to communicate with your server.
Make sure that your server is not overloaded and CloudFlare IPs are not blocked by your server firewall.
Did you try to turn off cloudflare? If the error still persits => That's your server problem