504 gateway timeout

Any additional informations when this happened and what the last thing was you have changed?

For 502/504 there is a good CommunityTip btw, make sure you have followed it: