Troubleshooting

What causes 502 and 504 gateway errors?

502 Bad Gateway and 504 Gateway Timeout errors mean the web server did not get a proper, timely response from the process handling your site (for example PHP). They are usually temporary or caused by something taking too long.

Common causes:

What to try:

  1. Reload after a minute; brief 502/504s often clear on their own.
  2. If it started after a change (a new plugin, a big import), undo or pause it.
  3. Check for a long-running task, such as an oversized import; break it into smaller batches.
  4. If you use Cloudflare, check its status and confirm SSL mode is Full.
  5. Review the error log in the panel at my.dirhamaday.ae.

If the errors persist or recur, contact our 24/7 UAE team on WhatsApp +971 58 553 6767 or support@dirhamaday.ae with the time they occur and what you were doing. We can check server resources, PHP timeouts and logs to pinpoint the cause.

Still need a hand? Our UAE-based team is here 24/7.

Related articles

My website is down, what do I do?How do I fix a 500 Internal Server Error?How do I fix a 403 Forbidden error?Why am I getting a 404 Not Found error?How do I fix "Error establishing a database connection"?