Jetpack showing server could not communicate

  • Error Details: The Jetpack server could not communicate with your site\’s XML-RPC URL. If you have the W3 Total Cache plugin installed, deactivate W3 Total Cache, try to Connect to WordPress.com again, reactivate W3 Total Cache, then clear W3 Total Cache\’s cache.

    We are not using any Cache plugin and have tried enabling/disabling the plugins but the error remains.

    DEBUG INFO:
    jQuery version: 1.12.4

    CLIENT_ID: 126849845
    BLOG_TOKEN:
    MASTER_USER:
    CERT: 0
    TIME_DIFF: 0
    VERSION: 6.3.2:1531466627
    OLD_VERSION: 4.7.1:1491253556
    PUBLIC: 1
    USER_ID: 70
    USER_TOKEN: [this user has no token]
    PHP_VERSION: 7.1.3
    WORDPRESS_VERSION: 4.9.7
    JETPACK__VERSION: 6.3.2
    JETPACK__PLUGIN_DIR: /var/www/html/clevertap.com/wp-content/plugins/jetpack/
    SITE_URL: https://clevertap.com
    HOME_URL: https://clevertap.com
    PLAN: JetpackPlanfree

    Jetpack Sync Full Status: `Array
    (
    [started] => Thu, 01 Jan 1970 00:00:00 +0000
    [queue_finished] => Thu, 01 Jan 1970 00:00:00 +0000
    [send_started] => Thu, 01 Jan 1970 00:00:00 +0000
    [finished] => Thu, 01 Jan 1970 00:00:00 +0000
    [sent] => Array
    (
    )

    [queue] => Array
    (
    )

    [config] =>
    [total] => Array
    (
    )

    )
    `
    Sync Queue size: 42
    Sync Queue lag: 37 weeks, 3 days, 13 hours, 29 minutes, 43 seconds
    Full Sync Queue size: 0
    Full Sync Queue lag: 0 seconds
    Sync IDC URLs: {“home”:”https:\/\/clevertap.com”,”siteurl”:”https:\/\/clevertap.com”,”WP_HOME”:””,”WP_SITEURL”:””}
    Sync error IDC option: false
    Sync IDC Optin: 1

    HTTP_HOST: clevertap.com
    SERVER_PORT: 443
    HTTPS: on
    HTTP_X_FORWARDED_FOR: 13.126.12.244, 54.182.245.47
    REMOTE_ADDR: 10.2.18.4
    PROTECT_TRUSTED_HEADER: {“trusted_header”:”HTTP_X_FORWARDED_FOR”,”segments”:1,”reverse”:false}

    TEST RESULTS:

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

    Hello Deepti,

    I will be out of town with family from 8th March to 9th March 2019 and will only have intermittent access to my Email & Whatsapp.

    Regards,
    Shamsher Singh

    RAW TEST RESULTS:

    HTTP
    Array
    (
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [server] => nginx
    [date] => Fri, 01 Mar 2019 08:59:55 GMT
    [content-type] => text/plain;charset=utf-8
    [vary] => Array
    (
    [0] => Accept-Encoding
    [1] => Cookie
    )

    [expires] => Wed, 11 Jan 1984 05:00:00 GMT
    [cache-control] => no-cache, must-revalidate, max-age=60
    [x-hacker] => Jetpack Test
    [content-encoding] => gzip
    [x-ac] => 4.sea _bur
    )

    )

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

    [cookies] => Array
    (
    )

    [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object
    (
    [response:protected] => Requests_Response Object
    (
    [body] => OK
    [raw] => HTTP/1.1 200 OK
    Server: nginx
    Date: Fri, 01 Mar 2019 08:59:55 GMT
    Content-Type: text/plain;charset=utf-8
    Transfer-Encoding: chunked
    Connection: close
    Vary: Accept-Encoding
    Vary: Cookie
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=60
    X-hacker: Jetpack Test
    Content-Encoding: gzip
    X-ac: 4.sea _bur

    OK
    [headers] => Requests_Response_Headers Object
    (
    [data:protected] => Array
    (
    [server] => Array
    (
    [0] => nginx
    )

    [date] => Array
    (
    [0] => Fri, 01 Mar 2019 08:59:55 GMT
    )

    [content-type] => Array
    (
    [0] => text/plain;charset=utf-8
    )

    [vary] => Array
    (
    [0] => Accept-Encoding
    [1] => Cookie
    )

    [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
    )

    [content-encoding] => Array
    (
    [0] => gzip
    )

    [x-ac] => Array
    (
    [0] => 4.sea _bur
    )

    )

    )

    [status_code] => 200
    [protocol_version] => 1.1
    [success] => 1
    [redirects] => 0
    [url] => http://jetpack.wordpress.com/jetpack.test/1/
    [history] => Array
    (
    )

    [cookies] => Requests_Cookie_Jar Object
    (
    [cookies:protected] => Array
    (
    )

    )

    )

    [filename:protected] =>
    [data] =>
    [headers] =>
    [status] =>
    )

    )

    HTTPS
    Array
    (
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [server] => nginx
    [date] => Fri, 01 Mar 2019 08:59:55 GMT
    [content-type] => text/plain;charset=utf-8
    [vary] => Array
    (
    [0] => Accept-Encoding
    [1] => Cookie
    )

    [expires] => Wed, 11 Jan 1984 05:00:00 GMT
    [cache-control] => no-cache, must-revalidate, max-age=60
    [x-hacker] => Jetpack Test
    [content-encoding] => gzip
    [x-ac] => 4.sea _bur
    [strict-transport-security] => max-age=15552000
    )

    )

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

    [cookies] => Array
    (
    )

    [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object
    (
    [response:protected] => Requests_Response Object
    (
    [body] => OK
    [raw] => HTTP/1.1 200 OK
    Server: nginx
    Date: Fri, 01 Mar 2019 08:59:55 GMT
    Content-Type: text/plain;charset=utf-8
    Transfer-Encoding: chunked
    Connection: close
    Vary: Accept-Encoding
    Vary: Cookie
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=60
    X-hacker: Jetpack Test
    Content-Encoding: gzip
    X-ac: 4.sea _bur
    Strict-Transport-Security: max-age=15552000

    OK
    [headers] => Requests_Response_Headers Object
    (
    [data:protected] => Array
    (
    [server] => Array
    (
    [0] => nginx
    )

    [date] => Array
    (
    [0] => Fri, 01 Mar 2019 08:59:55 GMT
    )

    [content-type] => Array
    (
    [0] => text/plain;charset=utf-8
    )

    [vary] => Array
    (
    [0] => Accept-Encoding
    [1] => Cookie
    )

    [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
    )

    [content-encoding] => Array
    (
    [0] => gzip
    )

    [x-ac] => Array
    (
    [0] => 4.sea _bur
    )

    [strict-transport-security] => Array
    (
    [0] => max-age=15552000
    )

    )

    )

    [status_code] => 200
    [protocol_version] => 1.1
    [success] => 1
    [redirects] => 0
    [url] => https://jetpack.wordpress.com/jetpack.test/1/
    [history] => Array
    (
    )

    [cookies] => Requests_Cookie_Jar Object
    (
    [cookies:protected] => Array
    (
    )

    )

    )

    [filename:protected] =>
    [data] =>
    [headers] =>
    [status] =>
    )

    )

    IDENTITY_CRISIS
    PASS

    SELF
    Array
    (
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [server] => nginx
    [date] => Fri, 01 Mar 2019 08:59:56 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] => 4.sea _bur
    [strict-transport-security] => max-age=15552000
    )

    )

    [body] => {"error":"Could not validate security token","error_description":"We were unable to validate a security token for Jetpack communication. Please try disconnecting Jetpack from your WordPress.com account, and connecting it again."}
    [response] => Array
    (
    [code] => 400
    [message] => Bad Request
    )

    [cookies] => Array
    (
    )

    [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object
    (
    [response:protected] => Requests_Response Object
    (
    [body] => {"error":"Could not validate security token","error_description":"We were unable to validate a security token for Jetpack communication. Please try disconnecting Jetpack from your WordPress.com account, and connecting it again."}
    [raw] => HTTP/1.1 400 Bad Request
    Server: nginx
    Date: Fri, 01 Mar 2019 08:59:56 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: 4.sea _bur
    Strict-Transport-Security: max-age=15552000

    {"error":"Could not validate security token","error_description":"We were unable to validate a security token for Jetpack communication. Please try disconnecting Jetpack from your WordPress.com account, and connecting it again."}
    [headers] => Requests_Response_Headers Object
    (
    [data:protected] => Array
    (
    [server] => Array
    (
    [0] => nginx
    )

    [date] => Array
    (
    [0] => Fri, 01 Mar 2019 08:59:56 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] => 4.sea _bur
    )

    [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=https://clevertap.com/xmlrpc.php
    [history] => Array
    (
    )

    [cookies] => Requests_Cookie_Jar Object
    (
    [cookies:protected] => Array
    (
    )

    )

    )

    [filename:protected] =>
    [data] =>
    [headers] =>
    [status] =>
    )

    )

  • Hi there,

    Please first reinstall and reconnect Jetpack to your WordPress.com account. If you continue to receive error messages regarding XML-RPC first ask your hosting provider if they’re blocking that file. If your site’s XML-RPC is not being blocked, then I suggest disabling all your plugins (except for Jetpack) and try again.

  • The topic ‘Jetpack showing server could not communicate’ is closed to new replies.