Causes and How to Resolve "Error 429: Too Many Requests"

Richards
By -
0
Is there an error message 429 too many requests appearing on your WordPress website? If yes, you are reading the right article.

Error message 429 is one of the common problems on WordPress websites. Even though it is difficult to detect the cause, the solution is quite simple.

In this article, we will explain what error 429 too many requests is, the various possible causes, and 5 easy ways to solve it.

What is Error 429 Too Many Requests?


What is Error 429 Too Many Requests?
Error 429: Too Many Requests

429 too many requests is a WordPress error message that appears when the server receives too many requests from the website. This error message can occur because too many requests or access are requested on the server in a short time. The server will then restrict the user from continuing to open the website repeatedly.

You may see this message in different forms, such as:

  • Error 429 (too many requests),
  • Error 429 or HTTP 429.
  • There was a problem with the server 429

Apart from limiting the number of requests, this error message also functions as an indicator of website security. Because, an excessive number of requests could come from third parties who try to access your website dashboard repeatedly (brute force attack)

Even though the intention is positive, sometimes this error message appears at unwanted times. The cause is not necessarily due to security issues. For that, you need to know the various other possible causes.

Apart from limiting the number of requests, this error message also functions as an indicator of website security. Because, an excessive number of requests could come from third parties who try to access your website dashboard repeatedly (brute force attack)

Even though the intention is positive, sometimes this error message appears at unwanted times. The cause is not necessarily due to security issues. For that, you need to know the various other possible causes. The following article will provide several ways you can solve Error 429. Let's read it to the end!


What Cause of Error 429: Too Many Requests?


The following are several things that could potentially cause error message 429 to appear:

  • Too many requests to the server: errors can occur because the server is overwhelmed in fulfilling the large number of requests or access requested to the server in a short time.
  • Brute-force attack: in this attack, an attacker will force their way into a WordPress account by trying password combinations over and over again. This can cause the WordPress server to receive too many authentication requests in a short time resulting in an error.
  • WordPress configuration issues: suboptimal configuration errors in WordPress server or site settings can also cause the server to overload or run out of memory.

How to Overcome 429: Too Many Requests?


How to Overcome 429: Too Many Requests?

Several ways to resolve error 429 can be done by waiting a few moments, clearing the browser cache, flushing DNS, and changing the default WordPress login URL.

1. Wait before sending a new request


The simplest solution to HTTP Error 429 is to just wait. Usually, this error is sent with a "Retry-After" header to state the time period that can be waited before sending a new request.

The following is an example of code that tells visitors to wait 30 minutes before sending a new request:

HTTP/1.1 429 Too Many Requests

Content-Type: text/html
Retry-After: 1800
<html>
<head>

   <title>Too Many Requests</title>
   </head>
   <body>

<h1>Too Many Requests</h1>

   <p>This server limits 100 requests in 1 hour. Please try again in a moment.</p>
   </body>
  </html>

2. Clear the cache on the browser


Clear Cache browser will delete cache data including previously sent requests. So, the next request can be sent to the server. How to Clear Cache: You can follow the guide in the article Easy Ways to Clear Browser Cache on Laptops, Android and iOS.

3. Perform a DNS flush


If you have cleared the cache and there is still an error, you can try Flush DNS to delete the DNS requests data stored on the computer. How to Flush DNS: You can follow the guide in the article How to Flush DNS on Windows, Mac and Linux.

4. Use a Content Delivery Network (CDN)


Content Delivery Network is a service set of servers that helps distribute traffic on your server so that the server load is distributed evenly and leads to increased website performance. For example, you can use Cloudflare CDN. By using a CDN, the server will be optimized and may be able to resolve Error 429.

5. WordPress database optimization


A messy database can consume large amounts of server resources and lead to Error 429. To overcome this, you can optimize the database to reduce the size and improve the performance of your database.

You can do this by using the Speed Optimizer plugin. After installing the plugin, please follow these steps:

  • Login to the WordPress Dashboard Admin Page
  • Then go to the Speed Optimizer > Environment menu
  • Press the Edit button at the bottom right
  • Check all the optimization options, then press Confirm

6. Change WordPress Default Login URL


If your website is being hacked using brute force, the step you can take is to replace the wp-login URL with the WPS Hide Login Plugin. So, the attack did not occur at all because the default wp-login URL already leads to a blank page.

For example, in the image above, you can change the default URL from login to login page, how:

  • Login to the WordPress Dashboard Admin Page.
  • Then go to the Settings menu > General > WPS Hide Login.
  • Change the slug (for example to loginpage).
  • Press the Save Changes button to change the login URL.

7. Temporarily Disable All Plugins


Most errors on WordPress come from problematic plugins. To find problematic plugins, you can use the elimination process. Here's how to deactivate WordPress Plugins:

  • First, go to the WordPress Plugins menu on the WordPress Dashboard Admin Page.
  • Then, just select the Bulk Actions menu > Deactivate and don't forget to press the Apply button.
  • After that, all plugins will be temporarily disabled and you can activate them one by one while seeing which plugin causes Error 429.

8. Return to Default WordPress Theme


If the error doesn't come from plugins, sometimes there are also themes that can cause the error. The way to overcome this is to change your Website Theme to the default WordPress theme:

  • Login to the WordPress Dashboard Admin Page.
  • Then go to the Appearance > Themes menu.
  • Choose a Default WordPress Theme, such as Twenty Twenty-Four or Twenty Twenty-One.
  • Press the Activate button.

If Error 429: Too Many Requests disappears after using the default WordPress theme, it's likely that the old theme you're using has a problem, so you can look for another theme that doesn't have problems for your website.

9. Contact the Hosting Provider


The final way to deal with Error 429: Too Many Requests is to contact Customer Support from your hosting provider. Luckily, Erzedka.com has Ninja Support 24/7 who is always ready day or midnight to help with hosting issues!


Conclusion


Error 429: Too Many Requests can be confusing when seen for the first time, but it turns out that if you have read and paid close attention to the steps in this article, overcoming this error is quite simple.

Considering that Error 429 can occur because the server is unable to meet requests or website needs, you should choose the best cloud hosting or switch to cloud VPS to avoid this error.
Tags:

Post a Comment

0Comments

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn more
Ok, Go it!