WordPress Curl Error 28 Connection Timed Out After

WordPress curl error 28 connection timed out after

I have a shell script that I use to monitor loading times and response codes on my live server cluster. It runs a total of 250 iterations every 5 minutes, distributed across 10 servers and 6 sites. It uses curl with the -w flag to return pertinent information which is then parsed by my shell script:

This information is then parsed by a graphing script that can display a number of different responses. However, curl will occasionally return a response code of "000". When this happens, it seems to happen multiple times at once despite being distributed over many iterations:

What I’m trying to work out is if this is a client-side issue that’s skewing my results or if it’s actually indicative of a server-side problem affecting my entire cluster. Does 000 mean that the connection was dropped? Database entries corresponding to curl iterations with that response code return "0.000" for the time_total value. All of the search results I’ve found for curl returning a code of 000 are related to HTTPS being unsupported, but all of my test URLs are HTTP.

(The spike in 500 errors is a completely unrelated issue that affected my servers last night.)

WordPress/WooCommerce (Backend) running too slow

Home › Forums › WordPress › Woocommerce › WordPress/WooCommerce (Backend) running too slow

This topic contains 0 replies, has 1 voice, and was last updated by John 1 year, 6 months ago.

I have eCommernce Web Site running on WordPress v4.7.2 and WooCommerce. It was running good till last week but now Only the Backend is running too slow, where as on the other hand my frontend is running at a normal speed.

I just updated an Order Status which has 1 line item it took around 5-6 min.

Server stats at this point of time

  • Physical Memory Usage => 198.1 / 2048 MB
  • Entry Processes => 1 / 40
  • Virtual Memory Usage => 173.7 / 1024 MB
  • CPU Usage => 13 / 100%
  • I/O Usage 0 / 4096 KB/s

I don’t know why this is happening or what is causing it to take so much time to load WooCommerce related backend page other backend pages like post and page is also slow load time is around 10-20 second, not in min(s).

I google for this and I find that it might be because of Woo Session or wp_option size or caching plugin. but in my case tables has few data and I’m not using any cashing plugin.

  • wp_posts => 2462 (record) with AUTO_INCREMENT => 2897
  • wp_options => 1448 (record) with AUTO_INCREMENT => 41947
  • wp_woocommerce_sessions => 27 (record) with AUTO_INCREMENT => 70246

List of plugin that I’m using

  • All In One SEO Pack Version
  • Custom Related Products for WooCommerce Version 1.2
  • Mailgun Version 1.5.8
  • Simple 301 Redirects Version 1.07
  • WooCommerce Version 2.6.14
  • WooCommerce Helper Version 1.7.2
  • YITH WooCommerce Ajax Product Filter Version 3.1.2
  • YITH WooCommerce Compare Version 2.1.0
  • YITH WooCommerce Wishlist Version 2.0.16
  1. I have no issue with my frontend load time.
  2. Backend pages that are related to WooCommerce are only too slow.
  3. When I updated order status it was around 1AM so the site visitor was fairly low.


WordPress Environment

Log Directory Writable: ✔
WP Memory Limit: 512 MB
WP Cron: ✔

Server Environment

Server Info: Apache Phusion_Passenger/4.0.10 mod_bwlimited/1.4 mod_fcgid/2.3.9
PHP Version: 5.6.25
PHP Post Max Size: 32 MB
PHP Time Limit: 180
PHP Max Input Vars: 1000
cURL Version: 7.36.0

SUHOSIN Installed: –
MySQL Version: 5.6.21
Max Upload Size: 32 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔

Remote Post: x wp_remote_post() failed. PayPal IPN won’t work with
your server. Contact your hosting provider. Error: cURL error 28:
Connection timed out after 10001 milliseconds

Remote Get: x
wp_remote_get() failed. The WooCommerce plugin updater won’t work with
your server. Contact your hosting provider. Error: cURL error 28:
Connection timed out after 5000 milliseconds

I got this 2 error in WC System Status. I checked my phpinfo(-1); it is showing that cURL is enabled. Then what might be the reason that it cannot able to connect?

WordPress curl error 28 connection timed out after

Hi Jana,
Please provide with your valid WP credentials and we will help you

We need your WordPress Admin credentials.
Why have you provided CPanel access?

Hi Jan,
Issue has been fixed by installing the latest Tesla Framework 1.2.3 plugin

Hi Jan,
Sorry but I cannot find the Bishop theme here, I can see Superstar theme folder only.
Can you please make sure that you are using the right details?
Best Regards

We are getting an empty root right now, can you please check

Sorry but still getting the empty root. Please check the account you have provided for us

Still doesn’t work. Please check and unblock our IP address

We have figured out with the FTP connection.
Now we need your WP credentials for https://shop.irsekraemer.dk/wp-login.php

Hi Jan,
We have fixed the issue.
You were using an outdated Tesla Framework plugin and we have updated it.
Best Regards

You can download the latest Tesla Framework plugin from here

im facing update problem
Error : ‘cURL error 28: Connection timed out after 10000 milliseconds’
WARNING : We noticed some fraudulent activity with our theme OR couldn’t connect to our servers for some reasons (check with your host that your server can connect to teslathemes.com). If you still can’t fix it please contact us in 5 days to fix this or SUPERSTAR framework page will be blocked.
State : no data

Hi @Jan,
We are sorry, it seems that one of the clients decided to submit a comment to your thread and you have been notified about it as the thread author because you are getting automatically subscribed to it.
@devasena Please open a new thread for your issue in order to get our help. Thanks for your understanding. Topic closed.
Best Regards


Español (Argentina)

Mailchimp for WooCommerce


Join the 17 million customers who use Mailchimp, the world’s largest marketing automation platform, to develop their e-commerce marketing strategy. With the official Mailchimp for WooCommerce integration, your customers and their purchase data are automatically synced with your Mailchimp account, making it easy to send targeted campaigns, automatically follow up with customers post-purchase, recommend products, recover abandoned carts, and measure the ROI of your marketing efforts. And it’s completely free.
With Mailchimp for WooCommerce, you’ll have the power to:
– Sync list and purchase data.
– Set up marketing automations to remind customers about items they left in their cart or viewed on your site, win back lapsed customers, and follow up post-purchase. (Now available for free accounts!)
– Showcase product recommendations.
– Track and segment customers based on purchase history and purchase frequency.
– View detailed data on your marketing performance in your Mailchimp Dashboard.
– Find new customers, connect with current ones, and drive them all to your website with Facebook and Instagram ads. Then, set up Google remarketing ads to turn your site visitors into shoppers.
– Automatically embed a pop-up form that converts your website visitors to subscribers.
– Add discount codes created in WooCommerce to your emails and automations with a Promo Code content block
– Create beautiful landing pages that make it easy to highlight your products, promote a sale or giveaway, and grow your list.

Important Notes

This plugin supports our most powerful API 3.0 features, and is intended for users who have not yet integrated their WooCommerce stores with Mailchimp.
You can run this new integration at the same time as your current WooCommerce integration for Mailchimp. However, data from the older integration will display separately in subscriber profiles, and can’t be used with e-commerce features that require API 3.0.
WordPress.com compatibility is limited to Business tier users only.
At this time, the synchronization of product categories from WooCommerce to Mailchimp is not supported.


Before You Start

Here are some things to know before you begin this process.
– This plugin requires you to have the WooCommerce plugin already installed and activated in WordPress.
– Your hosting environment must meet WooCommerce’s minimum requirements, including PHP 7.0 or greater.
– We recommend you use this plugin in a staging environment before installing it on production servers. To learn more about staging environments, check out these related WordPress plugins.
– Mailchimp for WooCommerce syncs the customer’s first name, last name, email address, and orders.
– WooCommerce customers who haven’t signed up for marketing emails will appear in the Transactional portion of your list, and cannot be exported.

Task Roadmap

You’ll need to do a few things to connect your WooCommerce store to Mailchimp.
– Download the plugin.
– Install the plugin on your WordPress Admin site.
– Connect the plugin with your Mailchimp API Key.
– Configure your list settings to complete the data sync process.

Advanced Queue Setup In CLI mode

To optimize the performance of your Mailchimp integration – it is recommended that you run the queue in CLI mode.
First define a constant in your config file
define(‘DISABLE_WP_HTTP_WORKER’, true);
You have 2 options to run this process:
1. On a cron schedule every minute:
* * * * * /usr/bin/wp –url=http://yourdomain.com –path=/full/path/to/install/ queue listen
2. Using a process manager like Monit or Supervisord:
/usr/bin/wp –url=http://yourdomain.com –path=/full/path/to/install/ queue listen

Optional on-demand queue processing

If you would like to turn off the background queue processing and handle jobs “on-demand” you can do so by adding a constant in your wp-config.php file:
This is helpful with high CPU usage on small servers by making a call to the admin-ajax file and manually processing a single request at a time.

Multi-site Setups

The Mailchimp for WooCommerce supports WordPress Multi Sites and below are a few things to note.
– Each site that has the plugin installed is a separate connection to Mailchimp.
– Deactivating – disables the plugin from sending data to Mailchimp. Upon reactivating the plugins original setup details will be intact. Deleting is necessary to connect a different Mailchimp list with WooCommerce.
– Deleting removes the connection between Mailchimp and WooCommerce, and uninstalls the plugin from your site.
Refer to the WordPress Codex for more information about Multisite Network Administration

Leave a Reply

Your email address will not be published. Required fields are marked *