Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1237635

    Christian
    Moderator

    You’re welcome.

    #1240828

    princias
    Participant

    Site Icon: So I am talking to Jetpack support, but no dice, so far. Meanwhile, Debug says XML-RPC is not responding correctly (see below). Might that be down to X? And do you guys have any suggestions?
    Cheers, c

    SELF:
    Array
    (
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [server] => nginx
    [date] => Wed, 02 Nov 2016 14:49:53 GMT
    [content-type] => text/plain;charset=utf-8
    [expires] => Wed, 11 Jan 1984 05:00:00 GMT
    [cache-control] => no-cache, must-revalidate, max-age=60
    [x-hacker] => Jetpack Test
    [x-ac] => 3.ams _dfw
    [strict-transport-security] => max-age=15552000
    )

    )

    [body] => {“error”:”XML-RPC is not responding correctly ( 429 )”,”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 -A 'Jetpack by WordPress.com' -d '<methodCall><methodName>demo.sayHello<\/methodName><\/methodCall>' http:\/\/christiani.com\/xmlrpc.php<\/code><\/blockquote><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><\/pre><\/code><\/blockquote>"}
        [response] => Array
            (
                [code] => 400
                [message] => Bad Request
            )
    
        [cookies] => Array
            (
            )
    
        [filename] => 
        [http_response] => WP_HTTP_Requests_Response Object
            (
                [response:protected] => Requests_Response Object
                    (
                        [body] => {"error":"XML-RPC is not responding correctly ( 429 )","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 -A 'Jetpack by WordPress.com' -d '<methodCall><methodName>demo.sayHello<\/methodName><\/methodCall>' http:\/\/christiani.com\/xmlrpc.php<\/code><\/blockquote><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><\/pre><\/code><\/blockquote>"}
                        [raw] => HTTP/1.1 400 Bad Request
    Server: nginx
    Date: Wed, 02 Nov 2016 14:49:53 GMT
    Content-Type: text/plain;charset=utf-8
    Transfer-Encoding: chunked
    Connection: close
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=60
    X-hacker: Jetpack Test
    X-ac: 3.ams _dfw
    Strict-Transport-Security: max-age=15552000
    
    {"error":"XML-RPC is not responding correctly ( 429 )","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 -A 'Jetpack by WordPress.com' -d '<methodCall><methodName>demo.sayHello<\/methodName><\/methodCall>' http:\/\/christiani.com\/xmlrpc.php<\/code><\/blockquote><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><\/pre><\/code><\/blockquote>"}
                        [headers] => Requests_Response_Headers Object
                            (
                                [data:protected] => Array
                                    (
                                        [server] => Array
                                            (
                                                [0] => nginx
                                            )
    
                                        [date] => Array
                                            (
                                                [0] => Wed, 02 Nov 2016 14:49:53 GMT
                                            )
    
                                        [content-type] => Array
                                            (
                                                [0] => text/plain;charset=utf-8
                                            )
    
                                        [expires] => Array
                                            (
                                                [0] => Wed, 11 Jan 1984 05:00:00 GMT
                                            )
    
                                        [cache-control] => Array
                                            (
                                                [0] => no-cache, must-revalidate, max-age=60
                                            )
    
                                        [x-hacker] => Array
                                            (
                                                [0] => Jetpack Test
                                            )
    
                                        [x-ac] => Array
                                            (
                                                [0] => 3.ams _dfw
                                            )
    
                                        [strict-transport-security] => Array
                                            (
                                                [0] => max-age=15552000
                                            )
    
                                    )
    
                            )
    
                        [status_code] => 400
                        [protocol_version] => 1.1
                        [success] => 
                        [redirects] => 0
                        [url] => https://jetpack.wordpress.com/jetpack.testsite/1/?url=http://christiani.com/xmlrpc.php
                        [history] => Array
                            (
                            )
    
                        [cookies] => Requests_Cookie_Jar Object
                            (
                                [cookies:protected] => Array
                                    (
                                    )
    
                            )
    
                    )
    
                [filename:protected] => 
                [data] => 
                [headers] => 
                [status] => 
            )
    
    )

    #1241532

    Rad
    Moderator

    Hi there,

    It’s not related to X theme or cornerstone. XML-RPC is WordPress feature that can be turned off and on. Please check this https://codex.wordpress.org/XML-RPC_Support. And make sure your hosting isn’t blocking the incoming or outgoing requests, else, it will not work.

    Thanks!