Support » Fixing WordPress » 504 / 502 error

  • The website was giving intermittent (NOT frequent 504 or seldom 502 errors). It was the worst today and the website is now down. I was contacting the hosting (siteground) support for 1 hour and we decided to deactivate all plugins. After 30 minutes, the website was loading slow 15+ seconds or giving a 504 error. I reverted the website to the day prior aand it is still giving me a 504 error. I am unsure how to troubleshoot this since the website won’t let me access the backend.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • The physical server itself is answering just fine but something is wrong there with the site as it threw a 504 at me. It’s possible the server out front is a proxy or a load balancer even.

    It’s also possible the server your WordPress is running from is broken somehow.

    You might try some of the hints from this article…

    https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-504-gateway-timeout-error-in-wordpress/

    As the last hint there suggests… you might need to contact your web host again.

    I found that same article. The only ones that sound applicable are:

    • Backup and Delete .htaccess File – which i’ve never had to do before?
    • Checking for malware

    Looking for some indication as how to go about pinpointing the culprit. I thought it was a plugin issue until we deactivated all of the plugins and the issue remained.

    What do you mean by this? Do you mean there would be a separate server than the server it’s on (siteground):
    It’s possible the server out front is a proxy or a load balancer even.

    It’s also possible the server your WordPress is running from is broken somehow.

    • This reply was modified 7 months, 2 weeks ago by vm_design.
    • This reply was modified 7 months, 2 weeks ago by vm_design.
    • This reply was modified 7 months, 2 weeks ago by vm_design.

    I’m saying to call SiteGround back since what you’ve tried and what I’ve seen is telling us something is wrong there and we can’t even see WordPress yet!

    Since you’ve worked your way through that article already.

    It’s kind of out of your hands at this point.

    Sometimes you need to call tech support back and hope the next support person has an answer or will pass you up to the 2nd level people.

    There’s one more possibility if you’re on a server like a VPS by yourself and that is a reboot via the control panel. If you are on shared hosting then they won’t want to do a reboot unless everything is down on that server.

    But they will have other options to help you in that case.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not a Developing with WordPress topic.

    Thanks for your responses to this @jnashhawkins! Turns out they had another website overloading the server.

    @jdembowski can you please remove the website URL from this post? Or let me know how I can delete this? The website is getting spam emails from the forum. Thanks!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    can you please remove the website URL from this post? Or let me know how I can delete this? The website is getting spam emails from the forum. Thanks!

    I’m sorry, but posts are not deleted or edited unless it’s an extreme case. This is not an extreme case. The URL will not be removed.

    Also that URL field can’t be scraped by any search engine, you have to be logged into the forums to see it. If someone is reaching out to you from then please contact the moderators via the WordPress Slack #forums channel.

    You’ll need an account to access that channel and can get one following these instructions.

    https://make.wordpress.org/chat/

    If I can get the information then I can ban those users from the WordPress.ORG site.

    @jdembowski spam seems like a legitimate reason to me. Posted in slack.

    nickfmc

    (@nickfmc)

    Siteground is really quick to kill processes causing heavy iops (input outputs per second) on their servers. So if your wordpress install isn’t cached or your working on a site logged in and a plugin or script has a buggy few seconds their server will kill the process and reboot to not slow down the server in the long run, however it causes a temp 502 for a min. It’s really aggressive and frustrating and hard to explain to clients. could be what you are seeing.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.