Support » Plugin: Anti-Malware Security and Brute-Force Firewall » 504 Gateway Time-out

  • Resolved manare


    I installed your plugin and it helped me find some infected files, which is awesome and I thank you for that. 😉

    However, I’ve found myself several times with a

    504 Gateway Time-out

    error in my website when your plugin is active.
    If I rename it through FTP, everything is back to normal. The moment I rename it back to its original name again, then the 504 error is back over again.
    It depends on I don’t know what… sometimes it shows a 504 for an hour, and the following hour it al works again, …and then again a 504.

    Does it make any sense?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eli


    A 504 Gateway Timeout error on your Nginx server could be generated for any number of reasons. This error is probably caused by the PHP max execution time limit or by the FastCGI read timeout settings on your server.

    Try increasing all the values in the /etc/nginx/conf.d/timeout.conf file that end in “_timeout” (like proxy_read_timeout and send_timeout).

    If you don’t have direct access to the server configuration files then you should take this issue up with your hosting provider and have them look into it. They might also get more information that could pinpoint a specific cause in the server’s log files.



    Thanks for your answer.
    However, costumer’s server is so low cost that the hosting provider won’t allow increasing that limit.
    Currently, max_execution_time = 30

    Plugin Author Eli


    You can also ask your hosting provider how to check the error_log files on your server to see if there are any other potential causes to the error you are getting.

    You may also want to move your site to a more capable and responsive hosting provider.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘504 Gateway Time-out’ is closed to new replies.