Jetpack could not contact WordPress.com

Hi,

I haven’t been able to connect Jetpack since I installed my WPMU.

I have contacted the Jetpack support team and send them logs and debugging information but couldn’t see anything wrong.

I have contacted GoDaddy, but they couldn’t see anything being blocked from their end.

I am using a GoDaddy VPS and can access everything on the server.

This is the error message.

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 30000 milliseconds with 0 bytes received

I know this isn’t your plugin but I would appreciate any input.

It seems to me that there is something on the VPS that I need to enable or define in the php.ini or httpd.conf

I have found various references about adding a line somewhere to increase the FCGI_CHILDREN to 2 or more.

Thanks in advance.

Peter

  • aristath
    • Recruit

    Hello again @Peter,

    These issues are usually related to curl, openssl, or you site being inaccessible from outside servers.

    From what I can see thouh you have both curl and openssl installed on your server, and your site seems accessible…

    One other thing I noticed though was that you’re using CloudFlare.

    Could you please set it to developer mode (you can do that from the cloudflare control panel for your domain) and test this again?

    Please advise,

    Ari.

  • Michelle Shull
    • DEV MAN’s Apprentice

    Hey there, Peter!

    Just to make sure I don’t send you down a path you’ve already been down, have you tried the steps listed here: http://jetpack.me/support/getting-started-with-jetpack/troubleshooting-tips/ ?

    I’ve seen this issue before, and it ended up being a plugin conflict. The first step I would try is to temporarily de-activate ALL your plugins except JetPack, then try to connect to wordpress.com. If that works, you can enable your plugins again.

    Take care!

  • Peter
    • WPMU DEV Initiate

    Hi Michelle,

    Thanks for your suggestions.

    It doesn’t hurt to ask.

    I’ve tested all the above and unfortunately no luck.

    I believe that it is something to do with server configuration.

    I have a reseller VPS from Godaddy and I have setup 2 more multi sites without any plugins apart from Jetpack and I get the same error.

    I believe that after I’ve made some changes to Apache, something has changed and Jetpack doesn’t like it.

    I have added a phpinfo page to my main site:

    http://techimpossible.com/info.php

    This is another multisite on the same server but with just jetpack installed.

    http://homeschoolingplanet.co/info.php

    I have also setup a multisite on Digital Ocean with just jetpack and works fine.

    http://informationsecuritypro.com/info.php

    I have compared the server configuration and found that my server is using CGI/FastCGI whereas the Digital Ocean server is using Apache2.

    I’ve switched my server back to Apache2 but it made no difference after rebuilding and restarting apache, it broke the WHMCS integration plugin as a plus.

    I’ve put it back to suphp but I don’t see anything else wrong.

    I’ve asked Godaddy support a few times but they can’t see anything wrong.

    I’m thinking that Jetpack needs some specific server side configuration that is not mentioned anywhere.

    Any suggestions would be helpful.

    If you can’t see anything wrong, I’ll check with Jetpack support again.

    Thanks

    Peter

  • Tyler Postle
    • Recruit

    Hey Peter,

    Hope you’re doing well today! From what I have read this error has to do with the outgoing https requests, I’m sure you have likely seen that already by now too.

    I you don’t mind your jetpack data being transmitted through HTTP instead of HTTPS then you can try disabling outoing HTTPS in jetpack with this line in your wp-config.php

    define( 'JETPACK_CLIENT__HTTPS', 'NEVER' );

    *notice the double underscore between ‘client’ and ‘https’ – that’s important.

    Or you can ask your host to make sure that outgoing https is enabled, if you haven’t already.

    or you can also try this method: http://www.oncry.com/resolved-register_http_request_failed-error-of-jetpack-plugin/

    Hope one of those helps Peter! and hopefully you haven’t already tried them all :p

    Have a great day.

    Cheers,

    Tyler

  • Peter
    • WPMU DEV Initiate

    Hi,

    I got a reply back from Jetpack support.

    Hi Peter,

    I’ve received word from our developers that this issue has been resolved. It sounds like GoDaddy had modified rules attempting to mitigate some DDOS attacks without realizing how it would interfere with another rule meant to secure Jetpack connections.

    Long story short, it should start working again! Please let me know if it doesn’t.

    It connected straight away this time.

    Regards,

    Peter