ThimPressThimPress ThimPress
  • Themes
    • WordPress Theme
    • Shopify Theme
    • Magento Theme
    • All Themes
  • Plugins
    • LearnPress
    • LearnPress Pro Bundle
    • LearnPress Semi-Pro Bundle
    • LearnPress Premium Add-ons
    • LearnPress Free Add-ons
    • LearnPress Mobile App
    • All Plugins
  • Blog
    • Best SEO Practice for Beginners
    • Internal link building tools
    • WordPress for Education
    • What are Sentiment Words
    • 20+ Free Shopify Themes
  • Coupons
  • Help Center
    • Support Forum
    • Ticket Center
    • Documentation
    • Knowledge Base
    • FAQs
    • Contact Us
  • Our Services
    • Customization
    • Maintainance
    • Hosting
    • Advertise
  • 0
  • Sign in
Back
  • Themes
    • WordPress Theme
    • Shopify Theme
    • Magento Theme
    • All Themes
  • Plugins
    • LearnPress
    • LearnPress Pro Bundle
    • LearnPress Semi-Pro Bundle
    • LearnPress Premium Add-ons
    • LearnPress Free Add-ons
    • LearnPress Mobile App
    • All Plugins
  • Blog
    • Best SEO Practice for Beginners
    • Internal link building tools
    • WordPress for Education
    • What are Sentiment Words
    • 20+ Free Shopify Themes
  • Coupons
  • Help Center
    • Support Forum
    • Ticket Center
    • Documentation
    • Knowledge Base
    • FAQs
    • Contact Us
  • Our Services
    • Customization
    • Maintainance
    • Hosting
    • Advertise
  • Home
  • Tutorials & Updates

How to Fix “cURL Error 28: Connection Timed out” in WordPress

Tutorials & Updates - By Duke - February 10, 2023

WordPress is a great platform for your site and content and it’s very likely hard to fall apart. However, sometimes you might just run into problems and one of them is cURL error 28 – Connection timed out. Fortunately, there are many ways for you to solve this error from casual to advanced. Let’s find out!

Table of Contents

  • What is cURL Error 28?
  • Why Does This cURL Error 28 Happen?
  • How to Fix the cURL Error 28
    • Deactivating WordPress Plugins
    • Disable WordPress Firewall Temporarily
    • Check Your Server Limits and cURL Version
    • Contact Your Hosting Company
  • Final Thought

What is cURL Error 28?

Client URL or cURL in short is a command line tool that transfers data from/to a server via URLs. WordPress uses cURL within the REST API. cURL handles API requests, enabling your website to access and transmit data to its server and corresponding database. This process will take up a bit of time but things will go out not well when it loads too long. Loading too long will lead to timing out and the message “cURL error 28: connection timed out”.

Particularly, you will see it in your site’s WordPress dashboard like this:

what is curl error 28

Or like this:

wordpress error message

Why Does This cURL Error 28 Happen?

There are some reasons leading to this error. First, your WordPress firewall might assume a REST API request is suspicious. Then, it prevents the request from completing in an attempt to protect your website against malware or other security threats.

Second, a wrong DNS server may prevent WordPress from loading HTTP requests correctly. The DNS server receives domain requests, translates them into IP addresses, and sends users to the right sites. If this process goes wrong, cURL error 28 will happen.

Read more:  How to Repair Photos Library and Restore Photos on Mac

Moreover, your hosting provider may set a low timeout limit on your server so your site will lack time to transfer data between your site and its database.

At last, WordPress plugins interfering with the cURL data transfer process can cause cURL error 28, too.

How to Fix the cURL Error 28

In this section, we will provide you with the methods you may need to correct this mistake from the system. 1 recommendation from us is that you should do this on a staging site so as not to affect the current live-running site. Once you have done fixing stuff, push the fixing onto the current live site to solve this problem.

Deactivating WordPress Plugins

You may wonder if they work well, why to deactivate ’em? The answer is that any of them could have code or scripts that mess up the cURL data transfer line. Therefore, the best way will be to deactivate all of them, then reinstall them one by one to find the unsuitable one(s). To do that, navigate to WordPress dashboard > Plugins > Installed Plugins > Check the box to select all of them > Deactivate in Bulk action > Apply. The rest of this is to reinstall each of them and check.

deactivate your wordpress plugins

In case you lose access to your dashboard due to cURL error 28, you have to manually deactivate all WordPress Plugins by connecting to your site with an SFTP client. Find the folder wp-content > plugins > Rename to plugins-old to shut ’em down. From there, the work will be much easier.

rename plugins to plugins old

To solve the cURL error 28, you can find alternatives for the plugins or downgrade WordPress.

Read more:  Sunrise WP: Hotel Resort Booking WordPress Theme

Disable WordPress Firewall Temporarily

The WordPress firewall will filter and remove all suspicious/malicious traffic and prevent it from reaching your site. However, it can sometimes toss away a legitimate REST API request and cause the error “Connection timed out”.

This tip can apply to all firewall plugins: in your WordPress dashboard, navigate to the firewall plugin > Firewall > Web Application Firewall Status. Disable this and save changes. Then, check your site again whether it’s still there or not.

Check Your Server Limits and cURL Version

Limited server resources or outdated software can cause the cURL error 28 connection timed out. You should check your PHP, OpenSSL, etc. frequently to remove this error.

Navigate to Tools > Site Health > Info > Server for checking.

Contact Your Hosting Company

If all the above ways are nothing but a drop in the ocean, you should contact the hosting company and ask for help. You can follow the list here to find the cause easily:

  • Ask for the latest version of the PHP and cURL library
  • Verify your DNS settings
  • Scan for the wp-cron limitation or loopback disability
  • Firewall/security modules that are out of your hands

Final Thought

You may find the “cURL error 28: connection timed out” depressing when working on a WordPress site. Don’t worry since there are some ways for you to fix it. Of course, we have arranged the above tips from easy (disabling the firewall, deactivating the plugins) to complicated and the final method is to contact the hosting provider.

Read more: Preeminent Guide & Tips to Speed Up WordPress Website

Read more:  LearnPress v4.2.2.1 Update

Contact us, ThimPress:

Website: https://thimpress.com/

Fanpage: https://www.facebook.com/ThimPress

Youtube: https://www.youtube.com/c/ThimPressDesign

Twitter: https://twitter.com/thimpress

TAGS: tutorialWordPresswordpress plugin
  • Share
  • Facebook
Duke
ThimPress content writer, customer support, SEO learner, and on-page advertisement manager. Wanna feature your site on ThimPress? Contact me via email [email protected]. Cheer!

Related Articles

Use License on Wrong Site

Use License on Wrong Site: What to Do Now?

Renew Customer Support License

How to Renew Customer Support License on ThimPress

WordPress White Screen of Death

WordPress White Screen of Death: Clear Guide & Tips

Remove the Date From Your WordPress URLs

Remove the Date from Your WordPress URLs: Complete Guide

404 Page Error

How to Detect & Redirect 404 page in WordPress

Latest Articles

  • LearnPress v4.2.5.7

    LearnPress v4.2.5.7 Update: What to Expect?

  • Top Free WordPress Redirect Plugins

    Boost Your SEO and User Experience with The Free WordPress Redirect Plugins

  • Best Magento 2 AI ChatGPT Extension

    Start Generating Amazing Content with These Top Magento 2 AI ChatGPT Extensions

  • Best AI Marketing Tools

    Exploring The Hottest AI Marketing Tools Trending Now

  • Use License on Wrong Site

    Use License on Wrong Site: What to Do Now?

Categories

  • Blog
  • Tutorials & Updates
  • Marketing & SEO
  • WordPress Theme Collections
  • Glossary
thimpress logo

We are a company that is passionate about developing products to help you build your business online. Our very first priority is to guarantee our customers’ experience and satisfaction.

"ThimPress" is a brand of "PhysCode LLC".

- Headquarters: 14936 DILLOW ST, #V301, Westminster, CA 92683.
- Vietnam Office: 143 Nguyen Tuan Street, Hanoi, Vietnam.
- Republic of Korea Office: 469, Dongdaegu-ro, Dong-gu, Daegu, Republic of Korea.

Email: [email protected]


COMPANY

  • Privacy Policy
  • Terms & Conditions
  • Refund Policy
  • Item Support Policy
  • Partner
  • Advertise

AFFILIATE

  • Become an Affiliate
  • Affiliate Terms & Policies

SUPPORT

  • Documentation
  • Forum
  • How to get help

PRODUCT

  • WordPress Plugins
  • WordPress Themes
  • Shopify Themes
  • Magento Theme
  • Coupons
  • Our Showcase

Our Network

  • Facebook
  • Twitter
  • Envato
  • Youtube
  • PhysCode
  • ArrowTheme

Special offer promotion

Up To 30% OFF
Themes and Add-ons
Expire on 15 December
Claim Deals
Designed by ThimPress. Powered by WordPress.
DMCA.com Protection Status
  • Terms & Conditions
  • Documentation

Sign In

Lost your password?

Not a member yet? Sign up now

Lost Password

Please enter your username or email address. You will receive a link to create a new password via email.

Are you a member? Sign in now