• Hi,

    Having a nice problem at the minute that I’ve never seen before, nor have I been able to solve this one easily.

    Was updating a couple of plugins and installing a new one (possible slight overlap in two tabs..) then a DOS attack happened bringing the server to it’s knees.

    Result. Whole site is now 403’ing.

    Tested absolutely everything I can think of to get this back up and running and still nothing.

    Anyone experienced this before and/or know where to look to solve this?

    With it being a site wide problem, it’s not like the request is even getting through to WordPress so my thoughts is a .htaccess problem or a file permissions problem.

    Server is fine. All other websites hosted are all good.
    No problem with a firewall blocking IP at the server level as this problem persists over multiple IPs.

    Help 🙂

    Regards
    Michael

Viewing 4 replies - 1 through 4 (of 4 total)
  • When you say you have tried everything I just need to know a bit more about that to provide some suggestions.

    Are you still experiencing the DOS attack? Have you tried renaming the plugins folder via other means to be able to get access back and remove said plugin creating issues?

    If you were in-fact attacked 403 error means that the server is dropping any and all connections to conserve it’s bandwidth to endure the attack without causing the bandwidth usage to reach it’s peak.

    If that is the case, then you need to contact your host and see if they have done that and how to move forward on removing that restriction placed on your hosting account.

    Hopefully some of this is helpful or is making sense, would love to help more.

    Thread Starter Michael Cropper

    (@michaelcropper86)

    As a last resort, I just deleted everything from .htaccess except the default bits and this seems to have solved the problem – initially;

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Absolutely no idea what has managed to get inserted into here during a plugin update which would cause this though. Would be interesting to hear people’s thoughts on the topic.

    The problem being is that the .htaccess file was 500 lines long, all filled with All-in-One WordPress Security & Firewall along with W3 Total Cache along with only allowing traffic through proxy cloud firewall with Sucuri. The irony is that none of the plugins which were being updated when this happened had anything to do with any of those things. The 3x plugins which were being updated at this point included AddThis Sharing Buttons, Custom Fields Search by BestWebSoft, and WooCommerce.

    When the site came back after this, decided to update those same 3 plugins again to rule out the DOS attack which seemed to happen at the same time as the updates previously. Interestingly, as soon as this was updated again, all plugins listed as being installed successfully. Then literally the second this happened, more W3 Total Cache had managed to fill up the .htaccess file again, which caused the CPU on the server to spike over 100%, causing problems again. Disabled W3 Total Cache by renaming the file on the server. So once CPU load comes back down once PHP memory limit times out the processes (hopefully) then I’ll give this another go.

    Thread Starter Michael Cropper

    (@michaelcropper86)

    Got to the bottom of the problem, kind of, the issue related to updating the 3 plugins somehow caused The Events Calendar to get into an infinite loop and crash the server.

    Glad you removed the plugins causing you the issues, let me know if there are any other problems happening.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Whole Site 403 Error After Plugin Update’ is closed to new replies.