How to fix WordPress HTTP Error: cURL error 28

If you're using WordPress and you've encountered the “HTTP Error: cURL error 28” message, don't worry; you're not alone. This error can be frustrating, but it's typically easy to fix. In this article, we'll explain what the error means and provide some simple steps you can follow to resolve it.

First, let's discuss what the “HTTP Error: cURL error 28” message means. cURL is a software library that allows you to make HTTP requests from your WordPress site. The “28” error code indicates that the request has timed out. This means that WordPress was unable to complete the request within a certain amount of time, and the server terminated the connection.

There are a few different reasons why this error might occur, including:

  • Your server is experiencing high traffic or is under heavy load.

  • Your server has a slow connection to the internet.

  • The website you're trying to access is slow or unresponsive.

  • There's a problem with the WordPress plugin or theme you're using.

To fix the “HTTP Error: cURL error 28” message, you can try the following steps:

  1. Check your server's load and connection speed. If your server is under heavy load or has a slow connection, this could be causing the error. Try increasing your server's resources or contacting your web host to see if they can help.

  2. Deactivate all WordPress plugins. This will help you determine if a plugin is causing the error. To do this, go to your WordPress dashboard and click on “Plugins” in the left-hand menu. Then, select all of the plugins and choose “Deactivate” from the “Bulk Actions” dropdown menu. After deactivating the plugins, try accessing the website again to see if the error persists.

  3. Re-upload the WordPress core files. Sometimes, a problem with the WordPress core files can cause the “HTTP Error: cURL error 28” message. To fix this, you'll need to download the latest version of WordPress from the WordPress website and re-upload the core files to your server.

  4. Increase the PHP memory limit. The PHP memory limit is the maximum amount of memory that WordPress can use to run a script. If the memory limit is too low, this can cause the “HTTP Error: cURL error 28” message. To increase the memory limit, you'll need to add the following line of code to your WordPress configuration file (wp-config.php):

define('WP_MEMORY_LIMIT', '256M');
  1. Contact your web host. If you've tried the steps above and the error persists, there may be a problem with your web host's server. In this case, you'll need to contact us for help.




Still need help?

Contact us

WordPress