← All blogsDevelopment

How to fix cURL error 28 in WordPress (connection timed out)

Seeing "cURL error 28: Connection timed out" in WordPress Site Health or when updating plugins? It means your server tried to connect to another server and gave up waiting. Here's what causes cURL error 28 and how to fix it step by step.

WordPress Site Health screen showing a cURL error

Quick answer

cURL error 28 in WordPress means a request to another server did not get a response within the time limit, often about five seconds. Common causes are firewalls, DNS problems, slow hosting, outdated server software and plugin conflicts.

Key takeaways

  • The error means a request from your server to another server took too long.
  • Common causes include firewalls, DNS issues, slow hosting, outdated software and plugin conflicts.
  • Work through fixes from simplest to most technical.
  • Your hosting provider can check server-level blocks you can't see.

Where might you see it?

  • Site Health warnings about the REST API or loopback requests.
  • Failed plugin or theme updates.
  • Payment, shipping or email plugins failing to connect.
  • Scheduled tasks not running.

What causes it?

CauseWhat happens
Firewall or security pluginOutgoing requests are blocked
DNS problemsThe server cannot resolve addresses quickly
Slow or overloaded hostingRequests take too long
Outdated PHP, cURL or OpenSSLConnections fail or slow
Plugin conflictsA plugin delays requests

How do you fix it?

  1. Check the other service's status page.
  2. Briefly disable firewall and security plugins, then adjust their settings.
  3. Test for plugin conflicts, using the Health Check and Troubleshooting plugin.
  4. Update PHP and server software.
  5. Ask your host to check firewalls, DNS and resource limits.

Take a full backup before changing plugins or server settings.

What should you gather before contacting your host?

  • Failed tests listed in Tools, then Site Health.
  • Whether it happens all the time or at busy times.
  • Which plugin or service shows the error.
  • Recent updates or hosting changes.
  • PHP error logs from your hosting dashboard.

How do you prevent it?

  • Use reliable, well-resourced hosting.
  • Keep WordPress, plugins, themes and PHP updated.
  • Limit plugins to those you need.
  • Monitor Site Health regularly.

If timeouts keep happening, it may be time to change hosts.

When should you get help?

If the error keeps returning or you would rather not dig into server settings, our website maintenance services team can diagnose and fix it.

Bottom line

Work through the fixes from simplest to most technical, and re-test after each one. If nothing helps, ask your host to check for server-level blocks.

Published by Kedra Digi

Kedra Digi is an Australian digital agency covering development, design, digital marketing and HR. This guide draws on work with real client projects.

Frequently asked questions

What causes the connection timed out error in WordPress?
Usually firewalls, DNS issues, slow hosting, outdated server software, plugin conflicts or the remote service being down.
Is this error dangerous?
It's not a security breach, but it can stop updates, payments and scheduled tasks from working.
Should I increase the timeout limit?
It can hide the symptom, but fixing the underlying cause is better.

Talk to our team

Want help putting this into practice?

Tell us what you're working on. We'll reply within one business day with honest advice.