

On VPS or Dedicated Servers, try restarting PHP-FPM. Certain PHP scripts (such as WordPress) can also intentionally trigger this error to indicate to web crawlers that your site is in Maintenance Mode.
#Wordpress 504 gateway time out how to#
If you are not on a VPS or Dedicated Server plan (or if you are, and are unsure how to proceed), contact our support team for assistance.Īpache could not communicate with PHP-FPM, or the PHP-FPM pool is not able to spawn a worker to handle the request. PHP script errors, database connection error, syntax error in htaccess files, and various other issuesĬheck the Apache or PHP error log for more information, as a number of issues can cause this error.Ĭheck the NGINX error log ( /var/log/nginx/error.log) for details, or just try restarting Apache/HTTPd via WHM or SSH. If you see a lot of these, it typically indicates a long-running PHP process, perhaps due to a bad WordPress plugin. This error will only show up in the NGINX access log, and indicates that the client (such as a visitor to your webpage) terminated the connection before NGINX could send a response. The client disconnected before Nginx could send a reply If the traffic is legitimate, consider increasing the threshold under the Max requests per minute setting in the Cache Manager Plugin. If you receive this 429 error, the number of requests from a single IP address has exceeded the threshold. NGINX has a rate-limiting feature that it can apply to URIs of your choice - typically to protect login pages and API endpoints. Traffic to ratelimited URIs has exceeded the max number of requests per minute This option is disabled by default.) Click here for more information on 406 errors. StatusĮnsure that ModSecurity hits are not being cached ( ModSecurity Response Cache Time under Advanced Options in the Cache Manager Plugin. On our WordPress Hosting product, our systems team closely monitors the servers and typically resolve these issues quickly.

Customers on our VPS or Dedicated platforms should reach out to our support team if unsure how to proceed. Resolving certain errors, such as the 502 or 503 errors, requires root-level access.
