• 3cees

    (@3cees)


    Hi,

    we have problems, to gte Jetpack Running.
    The site is public accessible. It is:

    https://www.meetic.com/pages/meetictech

    This is the debug info, we get:

    SELF:
    	Array
    (
        [headers] => Array
            (
                [server] => nginx
                [date] => Thu, 26 May 2016 16:53:21 GMT
                [content-type] => text/plain;charset=utf-8
                [connection] => close
                [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
                [x-ac] => 3.fra _dca
                [strict-transport-security] => max-age=15552000
            )
    
        [body] => {"error":"Unknown Error","error_description":"An unknown error has occurred."}
        [response] => Array
            (
                [code] => 400
                [message] => Bad Request
            )
    
        [cookies] => Array
            (
            )
    
        [filename] =>
    )

    We have multiple Servers (master&slave) and the site is behind a load balancer.

    Https settings are done in the wp-config.php

    if($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'){
        $_SERVER['HTTPS'] = 'on';
        $_SERVER['SERVER_PORT'] = 443;
    }

    And the xmlrpc.php file is accessible, too. From provider side nothing should get blocked. There are no active Plugins on the site and we use the wp standard theme.

    What could be the issue?

    Many Thanks,
    Lars

    https://wordpress.org/plugins/jetpack/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    the xmlrpc.php file is accessible

    While I can access it in the browser, I can’t seem to get any response when running a test POST query, like so:

    $ curl -A "Jetpack by WordPress.com" -is -H 'Content-Type: text/xml' --data '<?xml version="1.0"?><methodCall><methodName>demo.sayHello</methodName><params></params></methodCall>' 'https://www.meetic.com/pages/meetictech/xmlrpc.php' && echo

    Here is the expected output:

    $ curl -A "Jetpack by WordPress.com" -is -H 'Content-Type: text/xml' --data '<?xml version="1.0"?><methodCall><methodName>demo.sayHello</methodName><params></params></methodCall>' 'https://wordpress.org/xmlrpc.php' && echo
    HTTP/1.1 200 OK
    Server: nginx
    Date: Mon, 30 May 2016 11:52:32 GMT
    Content-Type: text/xml; charset=UTF-8
    Transfer-Encoding: chunked
    Connection: keep-alive
    Vary: Accept-Encoding
    Strict-Transport-Security: max-age=360
    X-Olaf: ⛄
    X-Frame-Options: SAMEORIGIN
    
    <?xml version="1.0" encoding="UTF-8"?>
    <methodResponse>
      <params>
        <param>
          <value>
          <string>Hello!</string>
          </value>
        </param>
      </params>
    </methodResponse>

    Could you take a look, and make sure POST requests to XML-RPC aren’t blocked by a security rule on your server?

    Let me know how it goes.

    Thread Starter 3cees

    (@3cees)

    Hi,

    when we try it here: http://requestmaker.com/

    It works. What’s the difference?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I’m not familiar with that tool, but I suspect it works the same way. The only difference is that the query is made from a third-party server.

    I don’t get any response there either, it just keeps loading:
    http://i.wpne.ws/gJTe

    It works for WordPress.org, though:
    http://i.wpne.ws/gJPP

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Your website needs to be publicly accessible to use Jetpack: site_inaccessible’ is closed to new replies.