How to fix a “cURL error 28: Connection timed out” in WordPress

Curl Error 28 WordPress

This quick article helps you solve a cURL error 28 in your WordPress site.

cURL error 28: Operation timed out after n milliseconds

or:

cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received

This problem is a very common server-related issue. In most cases not created by a particular theme or plugin, nor by WordPress.

How to fix it?

The first thing to do is to update your WordPress to the latest version if not already done.

Then if the problem is still there, contact your hosting company and ask the hosting support team to check the following points :

You can also install the Query Monitor plugin and check the status of the HTTP API Calls on the admin page where the error is displayed.