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 🙂

Fixing Jetpack Connection Issues

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!

How To Clear DNS Cache In Google Chrome?

Replacing String in a file using Python

Hi there, today I will share a small post with you on how I used python to solve (or automate) one of the problems in my life. So first, let’s talk about the problem –

My bank only allows me to download my bank statements in excel (.xls) and plaintext formats. But I use Google sheets and I have a Mac. The excel file which my bank provides doesn’t work well with Numbers app on my Mac and it also doesn’t work with Google sheets. Continue reading “Replacing String in a file using Python”

Replacing String in a file using Python

How I Make Doodle Videos?

If you’re wondering how I make the doodle videos on my YouTube channel(s), then this is the perfect post for you.

The Idea

The idea is really simple. Imagine recording yourself on camera while sketching something on paper. Then you speed up the recorded video footage to match with the narration or the voiceover (which is recorded separately). Continue reading “How I Make Doodle Videos?”

How I Make Doodle Videos?

Running The First JAVA Program

I plan to share my computer science knowledge on this blog whenever I get some free time on my hands. So this is the first post where I will explain how to get started with JAVA.

Note – This post is for someone who is a complete beginner and want to learn JAVA from the ground up.

Check if JDK is Installed

First check if JDK is installed on your computer. Open terminal and type javac.

 javac 

If the terminal gets flooded with javac usage information then JDK is installed. If it’s not installed, read the next section below. Else skip to the third section of this post. Continue reading “Running The First JAVA Program”

Running The First JAVA Program

How To Check If Your Operating System is 32bit or 64bit?

Everyone who uses a computer eventually runs into this question. So I want to write this post to create one page solution for the top 3 operating systems out there.

Mac OS X

If your operating system is Mac OS X, then just open the terminal (CMD+Spacebar and type terminal). Then type the command given below and it’ll return the result as 64 or 32.

getconf LONG_BIT

This is how it looks like when I execute that command on my Macbook Air. Continue reading “How To Check If Your Operating System is 32bit or 64bit?”

How To Check If Your Operating System is 32bit or 64bit?