Fixing Jetpack Connection Issues

Hey there! If you’re using (or want to use) Jetpack on your self-hosted WordPress site and if you’re having trouble connecting Jetpack to WordPress.com then this post is for you!

I work as a Happiness Engineer at Automattic (the company behind WordPress.com) and I’m going to share some tips on how you can troubleshoot the issue before reaching out to the Jetpack support team.

These tips may not necessarily solve your issue but it will surely help you to provide more details to the support team, which in turn will help them to solve the issue faster!

#1. Check the Jetpack Debugger

If there’s something wrong with the Jetpack connection, if you’re unable to connect, the very first thing you can do is check the Jetpack debugger located here.

It’ll let you know the status of your site’s Jetpack connection (all good/not good).

#2. Check xmlrpc.php

Jetpack needs this file to connect to WordPress.com! You have to make two checks here (and both of those should work).

#2A. Checking yoursite/xmlrpc.php – This page should return the following message:

XML-RPC server accepts POST requests only.

The message should look exactly the same (without any spaces or line breaks). You can check an example of working xmlrpc.php file on the Jetpack site here.

#2B. Checking xmlrpc in terminal – You must run the following command in the terminal (by replacing the jetpack.com site with your site’s domain name):

And it must return something like this:

Screen Shot 2017-07-13 at 4.17.46 AM.png

These two tests indicate your site’s xmlrpc.php is correctly setup, if the results of both the tests match the results in this post.

If something is off with your xmlrpc.php, I’d suggest you to contact your host (instead of contacting Jetpack support).

#3. Reinstall and Reconnect Jetpack

Sometimes turning things off and on actually helps to fix them. So try this out and see if things work:

  1. Go to Jetpack > Dashboard
  2. Scroll down to connections and disconnect Jetpack
  3. Go to Plugins and deactivate+delete Jetpack
  4. Now go to Plugins > Add new and search for Jetpack
  5. Install it, activate it and attempt to connect again
  6. If the connection doesn’t work, check other points in this post (esp the #4th one).

#4. Plugin Conflict

Sometimes other plugins create a conflict with Jetpack and that blocks jetpack from connecting to WordPress.com. To eliminate the possibility of a plugin conflict, just deactivate all the plugins and then reinstall Jetpack (point #3).

#5. Theme Issue

If you’re using a theme which is not well-coded, then the theme could be creating issues with Jetpack’s connection. So if you’ve any doubt over your theme, just switch to one of the default WordPress themes (like twenty seventeen) and see if that helps!

#6. Site Speed

Your site must load within the first 5-10 seconds (mostly 5 secs) for the Jetpack connection to work correctly. And you can check your site’s speed and overall performance at: https://tools.pingdom.com

#7. SSL Certificate

If you’re using an SSL Certificate for your site then you should check it’s grade at https://www.ssllabs.com/ssltest/analyze.html

It should be A or A+ and you shouldn’t see any errors here. The most common error here is that the certificate is self-signed.

If you’re seeing any errors in the SSL test, you should report this directly to your host as they’re the only ones who can fix these issues!

#8. WordPress Issues

If you delete Jetpack from your site and you still continue to see errors or problems on your site then those errors are mostly related to your site’s WordPress installation or any other plugins that you might’ve installed on the site.

In this case (when you’re sure that the issue is not related to Jetpack), you should reach out to WordPress.org support forums on this address: https://wordpress.org/support/forums


If none of the above works or if you’ve any questions related to Jetpack, please feel free to contact Jetpack’s support staff by clicking here 🙂

How To Clear DNS Cache In Google Chrome?

If you’re unable to access a page in Google chrome but you can see it perfectly in a different browser or on your friend’s computer then you probably need to clear your browser’s DNS cache.

You can clear DNS cache in chrome by visiting this page – chrome://net-internals/#dns in Google Chrome!

Once you’re on that page, just hit the clear host cache button and you’re good to go!