Jetpack Communication Error
-
I recently switched from apache to lighttpd, and Jetpack stopped working. I used the same rewrite rules, and /xmlrpc.php returns the correct message, and the correct message for /xmlrpc.php?rsd. Running 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://gateblogs.com/xmlrpc.php’ && echo
Returns the following for apache:
0; path=COOKIEPATH
Set-Cookie: QnKVvgyjBb=e4x5FOl1S%40; expires=Wed, 28-Mar-2018 15:06:28 GMT; Max-Age=3600; path=COOKIEPATH
X-LiteSpeed-Cache-Control: no-cache
Vary: Accept-Encoding
Expect-CT: max-age=604800, report-uri=”https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: cloudflare
CF-RAY: 402aa831dc789248-EWR<?xml version=”1.0″ encoding=”UTF-8″?>
<methodResponse>
<params>
<param>
<value>
<string>Hello!</string>
</value>
</param>
</params>
</methodResponse>And the following for lighttpd:
Set-Cookie: __cfduid=d69c6c476e8a8b4104518a882e5da44fc1522249272; expires=Thu, 28-Mar-19 15:01:12 GMT; path=/; domain=.gateblogs.com; HttpOnly; Secure
Set-Cookie: eFcLBrViasNyQ=0B_%2AIgsJ%404wDp; expires=Wed, 28-Mar-2018 16:01:12 GMT; Max-Age=3600; path=COOKIEPATH
Set-Cookie: vHaptPuAqNnMzGLW=1OdrwTgqcNxtZ0.%40; expires=Wed, 28-Mar-2018 16:01:12 GMT; Max-Age=3600; path=COOKIEPATH
Set-Cookie: c_uINfQa=FEsjKuzn; expires=Wed, 28-Mar-2018 16:01:12 GMT; Max-Age=3600; path=COOKIEPATH
Set-Cookie: QnKVvgyjBb=e4x5FOl1S%40; expires=Wed, 28-Mar-2018 16:01:12 GMT; Max-Age=3600; path=COOKIEPATH
Expect-CT: max-age=604800, report-uri=”https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: cloudflare
CF-RAY: 402af8807d0a9224-EWR<?xml version=”1.0″ encoding=”UTF-8″?>
<methodResponse>
<params>
<param>
<value>
<string>Hello!</string>
</value>
</param>
</params>
</methodResponse>But the Jetpack debugger gives a communication error. It was working fine with apache, so I know it’s not a problem with any of my plugins. I also know it’s not a dependency issue because it returns the correct output for cURL
- The topic ‘Jetpack Communication Error’ is closed to new replies.