WordPress.org

Forums

Jetpack by WordPress.com
SSL read: error:00000000:lib(0):func(0):reason(0), errno 0 (25 posts)

  1. superlionwolfcomics
    Member
    Posted 1 year ago #

    after installing jetpack 2.5 none of the modules can be enabled, i especially want access to the publicize feature

    i selected connect to wordpress and got the following error

    Jetpack could not contact WordPress.com: register_http_request_failed. This usually means something is incorrectly configured on your web host.

    SSL read: error:00000000:lib(0):func(0):reason(0), errno 0

    this is the info from the jetpack compatibility test plugin

    Site info

    SITE_URL: http://superlionwolfcomics.com/wordpress1
    HOME_URL: http://superlionwolfcomics.com/wordpress1

    TEST: HTTP Connection
    Array
    (
    [headers] => Array
    (
    [server] => nginx
    [date] => Wed, 30 Oct 2013 03:02:29 GMT
    [content-type] => text/plain;charset=utf-8
    [connection] => close
    [vary] => Cookie
    [x-pingback] => http://jetpack.wordpress.com/xmlrpc.php
    [expires] => Wed, 11 Jan 1984 05:00:00 GMT
    [cache-control] => no-cache, must-revalidate, max-age=60
    [pragma] => no-cache
    [x-hacker] => Jetpack Test
    )

    [body] => OK
    [response] => Array
    (
    [code] => 200
    [message] => OK
    )

    [cookies] => Array
    (
    )

    [filename] =>
    )

    TEST: HTTPS Connection
    Array
    (
    [headers] => Array
    (
    [server] => nginx
    [date] => Wed, 30 Oct 2013 03:02:29 GMT
    [content-type] => text/plain;charset=utf-8
    [connection] => close
    [vary] => Cookie
    [x-pingback] => https://jetpack.wordpress.com/xmlrpc.php
    [expires] => Wed, 11 Jan 1984 05:00:00 GMT
    [cache-control] => no-cache, must-revalidate, max-age=60
    [pragma] => no-cache
    [x-hacker] => Jetpack Test
    )

    [body] => OK
    [response] => Array
    (
    [code] => 200
    [message] => OK
    )

    [cookies] => Array
    (
    )

    [filename] =>
    )

    TEST: Self Connection
    Array
    (
    [headers] => Array
    (
    [date] => Wed, 30 Oct 2013 03:02:29 GMT
    [server] => Apache/2.2.22 (Unix) FrontPage/5.0.2.2635
    [x-powered-by] => PHP/5.3.27-pl0-gentoo
    [expires] => Thu, 19 Nov 1981 08:52:00 GMT
    [cache-control] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    [pragma] => no-cache
    [set-cookie] => PHPSESSID=057e722c445e94e620ae75610b629652; path=/
    [connection] => close
    [content-type] => text/plain
    )

    [body] =>
    XML-RPC server accepts POST requests only.
    [response] => Array
    (
    [code] => 200
    [message] => OK
    )

    [cookies] => Array
    (
    [0] => WP_Http_Cookie Object
    (
    [name] => PHPSESSID
    [value] => 057e722c445e94e620ae75610b629652
    [expires] =>
    [path] => /
    [domain] => superlionwolfcomics.com
    )

    )

    [filename] =>
    )

    http://wordpress.org/plugins/jetpack/

  2. mmichael1991
    Member
    Posted 1 year ago #

    Hi,

    I got the exact same error.

    No one replied yet :(

  3. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Could you contact your hosting provider, and ask them to activate the openssl extension in your server configuration? It might explain why your site is unable to connect with WordPress.com.

    If that doesn't help, you might want to ask them to check whether the've installed one of the latest releases of curl and libcurl. You can read more about this issue here:
    http://sourceforge.net/p/curl/bugs/1249/

    Let me know if it helps.

  4. tgfap
    Member
    Posted 1 year ago #

    I'm getting the same thing, but I have other WP installations with Jetpack on the same server that don't get the error. Seems odd that it's the server randomly letting it work for some sites and not others.

  5. superlionwolfcomics
    Member
    Posted 1 year ago #

    I've confirmed my webhost will not activate the openssl extension in the server configuration.

    Is there anything i can do about this in particular i want to use the publicize module

  6. Kelly Breard
    Member
    Posted 1 year ago #

    I am also having the same problem. The same exact error message appears when I try and activate the plugin. I am somewhat of a newbie so any information would be very helpful!

  7. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @superlionwolfcomics I'm afraid there is real work around, short of moving to another hosting provider or trying another Publicize plugin that would not require a connection to WordPress.com.

    @tgfap Can you please use Jetpack's Debugger module to send us some more information about your site?

    1) Go to the Jetpack page in your dashboard.
    2) Click on the Debug link appearing at the bottom of the page.
    3) Click the link that says "click here to contact Jetpack support."
    4) Fill in the description box and your name and email address.
    5) Click the "Contact Support" button.

    it might also be useful if you could give us more details about the sites that work and the ones that don't, so we can compare them.

    Thanks!

    @Kelly Could you try contacting your hosting provider, as I mentioned earlier?
    http://wordpress.org/support/topic/ssl-read-error00000000lib0func0reason0-errno-0?replies=4#post-4821247

  8. Kelly Breard
    Member
    Posted 1 year ago #

    @Jeremy - my hosting provider says they don't support "3rd party" plugins? The steps I've taken are to install the plug in and it did install properly. Then I tried to activate it and received this error code:

    Jetpack could not contact WordPress.com: register_http_request_failed. This usually means something is incorrectly configured on your web host.

    SSL read: error:00000000:lib(0):func(0):reason(0), errno 0

    I do have a wordpress.com site although I am not using Jetpack for that (since wordpress.com has all of that information built in). I am new to wordpress.org and have installed other plugins. Any help you can give would be appreciated. As well, my husband has been dealing with the hosting company - I can give you his email address if that would be helpful since I'm not as good with the back end as he is! Thanks again!

  9. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    my hosting provider says they don't support "3rd party" plugins

    Although they don't provide support for third-party plugins, were they able to check your server configuration based on the links I posted earlier?

  10. tgfap
    Member
    Posted 1 year ago #

    I tried to use the debugger, but it won't respond to the "contact Jetpack support" link. Does nothing. The status bar indicates that the link is, "Go to # on this page." I tried several times.

  11. techsurgeons
    Member
    Posted 1 year ago #

    See what version of Curl is in use on your host.

    7.31.0 has a bug. Install a later version and restart PHP.

    -J

  12. Melanie56
    Member
    Posted 1 year ago #

    This is what I got when I tried the jetpack compatibility test. I didn't get this problem with Jetpack until I tried to update my plugin from version 2.5 (which worked fine) to 2.6 yesterday. Any suggestions?

    VERSION: 2.5:1379638623
    OLD_VERSION: 2.4.2:1378722096
    PUBLIC: 1
    USER_ID: 2
    USER_TOKEN: [this user has no token]
    PHP_VERSION: 5.3.27
    WORDPRESS_VERSION: 3.7.1
    JETPACK__VERSION: 2.6
    JETPACK__PLUGIN_DIR: /services/webpages/m/e/melanierobertson-king.com/public/wp02/wp-content/plugins/jetpack/
    SITE_URL: http://www.melanierobertson-king.com/wp02
    HOME_URL: http://www.melanierobertson-king.com/wp02

    TEST RESULTS:

    HTTP: PASS
    HTTPS: PASS
    IDENTITY_CRISIS: PASS
    SELF: FAIL

    RAW TEST RESULTS:

    HTTP
    Array
    (
    [headers] => Array
    (
    [server] => nginx
    [date] => Fri, 29 Nov 2013 14:36:57 GMT
    [content-type] => text/plain;charset=utf-8
    [connection] => close
    [vary] => Cookie
    [x-pingback] => http://jetpack.wordpress.com/xmlrpc.php
    [expires] => Wed, 11 Jan 1984 05:00:00 GMT
    [cache-control] => no-cache, must-revalidate, max-age=60
    [pragma] => no-cache
    [x-hacker] => Jetpack Test
    )

    [body] => OK
    [response] => Array
    (
    [code] => 200
    [message] => OK
    )

    [cookies] => Array
    (
    )

    [filename] =>
    )

    HTTPS
    Array
    (
    [headers] => Array
    (
    [server] => nginx
    [date] => Fri, 29 Nov 2013 14:36:57 GMT
    [content-type] => text/plain;charset=utf-8
    [connection] => close
    [vary] => Cookie
    [x-pingback] => https://jetpack.wordpress.com/xmlrpc.php
    [expires] => Wed, 11 Jan 1984 05:00:00 GMT
    [cache-control] => no-cache, must-revalidate, max-age=60
    [pragma] => no-cache
    [x-hacker] => Jetpack Test
    )

    [body] => OK
    [response] => Array
    (
    [code] => 200
    [message] => OK
    )

    [cookies] => Array
    (
    )

    [filename] =>
    )

    IDENTITY_CRISIS
    PASS

    SELF
    Array
    (
    [headers] => Array
    (
    [server] => nginx
    [date] => Fri, 29 Nov 2013 14:36:58 GMT
    [content-type] => text/plain;charset=utf-8
    [connection] => close
    [x-pingback] => https://jetpack.wordpress.com/xmlrpc.php
    [expires] => Wed, 11 Jan 1984 05:00:00 GMT
    [cache-control] => no-cache, must-revalidate, max-age=60
    [pragma] => no-cache
    [x-hacker] => Jetpack Test
    )

    [body] => {"error":"XML-RPC is not responding correctly ( 403 )","error_description":"It looks like XML-RPC is not responding correctly. Please make sure XML-RPC is turned on for your site and is set up to respond to all content types. You can test this yourself by running the following command from the command line:

    curl -d '<methodCall><methodName>demo.sayHello</methodName></methodCall>' http://www.melanierobertson-king.com/wp02/xmlrpc.php
    <p>The answer should be:</p>

    <?xml version="1.0" encoding="UTF-8"?>n<methodResponse>n <params>n <param>n <value>n <string>Hello!</string>n </value>n </param>n </params>n</methodResponse>
    "}
    [response] => Array
    (
    [code] => 400
    [message] => Bad Request
    )

    [cookies] => Array
    (
    )

    [filename] =>
    )

  13. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @Melanie56 Could you try to contact your hosting provider, as I suggested earlier?

    Thanks!

  14. iancorrao
    Member
    Posted 1 year ago #

    So I am having the same issues listed above. Sadly my hosting service is of no help. They give the classic line of "JetPack is a 3rd party application and we do not support it". They wouldn't even give me the time of day to check is OpenSSL is active.

    So complaining about my host aside, is there any "easy" way to fix this for someone who isn't exactly the brightest with coding and has a hosting company that won't offer any help either?

  15. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    So complaining about my host aside, is there any "easy" way to fix this for someone who isn't exactly the brightest with coding and has a hosting company that won't offer any help either?

    We're looking into it on our end as well, and I'll post again here if we can find a way to work around the problems some of you guys experience with your hosts.

  16. tgfap
    Member
    Posted 1 year ago #

    I solved this problem by adding a line of code to the wp-config.php file. Just after the lines below add this line:
    define( 'JETPACK_CLIENT__HTTPS', 'NEVER' );

    The final should look like this:
    * @package WordPress
    */
    define( 'JETPACK_CLIENT__HTTPS', 'NEVER' );
    // ** My SQL...

    That solved any issues. I can't promise it won't cause another, but for now, so far so good.

  17. mariogroleau
    Member
    Posted 1 year ago #

    Thank you, The Jetpack is now working!

    Best regards!

  18. jasperguy
    Member
    Posted 1 year ago #

    tgfap, most excellent, just hope this does not open up any holes in the plugin.

  19. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @jasperguy It doesn't, no worries there. It only stops Jetpack from trying to communicate with WordPress.com via HTTPS.

  20. jasperguy
    Member
    Posted 1 year ago #

    @jeremy herve, thanks.

  21. iancorrao
    Member
    Posted 1 year ago #

    @tgfap Thanks a ton for your fix, worked like a charm!

  22. wynand32
    Member
    Posted 1 year ago #

    @jeremy herve, just a quick question: what's the impact on security of Jetpack not communicating with WordPress.com via HTTPS? I'm not sure how connecting via a non-secure connection will impact my site's overall security.

    The fix of adding the line to wp-config.php works for me, but I'm not 100% confident in using it without knowing the security impact.

    Thanks for any insights!

  23. pacific222
    Member
    Posted 1 year ago #

    This works, thank you so much, tgfap. I have my hosting company looking into it in the meantime.
    The Jetpack install and use works on all my other sites, using CPanel as the interface.

  24. calsnoboarder
    Member
    Posted 1 year ago #

    I used tgfap's fix, but I too am worried about the implications of not using HTTPS to communicate with wordpress.com...

    Is there a fix or at the very least, a security issue by using tgfap's fix?

  25. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Is there a fix or at the very least, a security issue by using tgfap's fix?

    The fix can only be done by your host, as I mentioned above.
    If that's not possible, then you can use @tgfap's work around. As I mentioned earlier, adding that line doesn't cause any security hole in the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.