Title: Connection test failed
Last modified: March 14, 2020

---

# Connection test failed

 *  Resolved [Tim](https://wordpress.org/support/users/tjalexander70/)
 * (@tjalexander70)
 * [6 years ago](https://wordpress.org/support/topic/connection-test-failed/)
 * For that past week, I have been having major issues with my site starting on 
   Saturday, March 7th. It appears to be a connectivity issue with the database.
   My hosting company has not been able to find any issue on their side.
 * Today, the site worked excruciatingly slow but well enough to run Site Health.
   I received this message:
 * > Connection test failed (#http_request_failed: cURL error 28: Operation timed
   > out after 10001 milliseconds with 0 bytes received)
   > Please contact Jetpack support.
 * How do I fix this?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years ago](https://wordpress.org/support/topic/connection-test-failed/#post-12544523)
 * What is the URL of the site with the problem?
 *  Thread Starter [Tim](https://wordpress.org/support/users/tjalexander70/)
 * (@tjalexander70)
 * [6 years ago](https://wordpress.org/support/topic/connection-test-failed/#post-12545276)
 * The site is [https://mychesco.com/](https://mychesco.com/)
 * However, I am now fairly now sure this is has nothing to do with Jetpack specifically.
 * I tried to disconnect and reconnect Jetpack and received the same error. As a
   result, Jetpack is no longer active on the site… at least till resolved.
 * Site Health is now giving this error:
 * > Your site could not complete a loopback request – Performance
   > Loopback requests are used to run scheduled events, and are also used by the
   > built-in editors for themes and plugins to verify code stability.
   > The loopback request to your site failed, this means features relying on them
   > are not currently working as expected.
   >  Error: [] cURL error 28: Operation 
   > timed out after 10000 milliseconds with 0 bytes received
 * I also ran Wordfence’s diagnostic tool and received this:
 * > Connecting back to this site
   >  wp_remote_post() test back to this server failed!
   > Response was: cURL error 28: Operation timed out after 10001 milliseconds with
   > 0 bytes received
 * I have never seen these errors before and sent the info to mu hosting company’s
   support. Still waiting.
 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years ago](https://wordpress.org/support/topic/connection-test-failed/#post-12546598)
 * That sounds about right.
 * We’re being blocked from accessing [https://mychesco.com/xmlrpc.php](https://mychesco.com/xmlrpc.php)
   which Jetpack requires to function.
 * Unfortunately, blocking XML-RPC is not a great solution for fighting security
   risks. It’s akin to selling your car because you don’t want it to be stolen.
 * Your site’s XML-RPC file is kind of like a communication gateway to your site.
   Jetpack, the WordPress Mobile Apps, and other plugins and services will use this
   file to communicate to your site. If this is blocked, you will have other issues
   pop-up down the road for the same reasons.
 * If you are using any security plugins, please try connecting with those temporarily
   deactivated. If you don’t have any, or if that didn’t work, I would suggest contacting
   your hosting provider and asking them to unblock your site’s XML-RPC. The most
   popular hosting providers out there have managed to find other ways to protect
   their servers without having to hinder your site and your ability to use services
   with your WordPress.
 *  Thread Starter [Tim](https://wordpress.org/support/users/tjalexander70/)
 * (@tjalexander70)
 * [6 years ago](https://wordpress.org/support/topic/connection-test-failed/#post-12553357)
 * Jetpack is whitelisted for /xmlrpc.php. That is not the problem. I have been 
   blocking access to /xmlrpc.php for a file and whitelisting as needed.
 * It is not a problem with just Jetpack, as I have discovered. It appears to be
   an issue with the host server snd curl and/or loopbacks, causing cron and the
   API to timeout.
 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years ago](https://wordpress.org/support/topic/connection-test-failed/#post-12553695)
 * We’re definitely still blocked, at least according to tests from our end.
 * What specifically did you whitelist?
 *  Thread Starter [Tim](https://wordpress.org/support/users/tjalexander70/)
 * (@tjalexander70)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/connection-test-failed/#post-12770571)
 * I thought it is probably a good idea to come back with an update. I brought the
   cURL error 28 up to my hosting company which, from my research, would most likely
   be a server issue. The hosting company’s support refused to investigate, and 
   insisted that it had to be one of my plugins. The final straw was catching them
   in several lies. I moved my website from JustHost to DreamHost and everything
   magically worked. So, it would seem that it wasn’t my plugins after all. 😉

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Connection test failed’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [dreamhost](https://wordpress.org/support/topic-tag/dreamhost/)
 * [justhost](https://wordpress.org/support/topic-tag/justhost/)

 * 6 replies
 * 2 participants
 * Last reply from: [Tim](https://wordpress.org/support/users/tjalexander70/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/connection-test-failed/#post-12770571)
 * Status: resolved