Ben Lobaugh Online

I think, therefore I am. I am, therefore I sail

Quick fix for Jetpack register_http_request_failed

Please note: This post is several years old now and may no longer be valid. If it does not work for you please check your logs for the new solution. I would love to hear about it to update guidance on this post if needed.

If you are running into the following error:

Jetpack could not contact WordPress.com: register_http_request_failed

It is likely because your host does not properly support outgoing HTTPS requests. To get around this you can disable the Jetpack HTTPS call and run over HTTP by placing the following in your wp-config.php file:

define( 'JETPACK_CLIENT__HTTPS', 'NEVER' );

Note the double underscore between CLIENT and HTTPS.

I want to stress that though this will work all your interactions with the Jetpack servers are now no longer encrypted. If you are not concerned about the data being transmitted ( this could include comments ) it is ok to leave that line in wp-config.php but it is much safer for you and your visitors to run over HTTPS. I highly recommend contacting your hosting provider and asking them to enable outgoing HTTPS.

Previous

WPSeattle love!

Next

First VW Bus I looked to buy

12 Comments

  1. Hi Tried this thing

    but

    Jetpack could not contact WordPress.com: register_http_request_failed. This usually means something is incorrectly configured on your web host. Operation timed out after 15007 milliseconds with 0 bytes received

  2. Perfect ! Big THX ! This fixed my problems !

  3. Thank you so much, Ben!!

  4. iserdaroz

    Same problem different solution. In my situation php curl package doesn’t exists in the system (Ubuntu 12.04 LTS – LAMP) .

    Just try,

    apt-get install php5-curl
    /etc/init.d/apache2 restart

    And if you get DNS resolving problem after eliminating php curl issue try to change system’s DNS setting to Google DNS 8.8.8.8

  5. Nikhil

    Thanks worked well!

  6. Please don’t do this, ever. For exactly the reasons you provide (“no longer encrypted”).

    If you receive such an error message, urge your hosting company to fix its PHP installation, or move away to another provider.

    On https://www.saotn.org/dont-turn-off-curlopt_ssl_verifypeer-fix-php-configuration/ I provide two solutions for this Jetpack “register_http_request_failed” error; one for system administrators and one for end-users. The post also shows how to fix your OpenSSL configuration in PHP.

  7. This didnt fix.

  8. Please im having the same issue and i cannot update my plugins or themes and all jetpack features are currently not working on http://www.edusbaze.com/

    • Hello! This is a very old post (as far as technology goes!) and may no longer be valid. What errors are you receiving in your logs and elsewhere that lead you to this as the possible solution? Have you implemented the “fix”?

Comments are closed.