Comments on: WordPress (nginx-varnish) Jetpack xml_rpc 32700 glitch fix http://usefulmix.com/wordpress-nginx-varnish-jetpack-xml_rpc-32700-glitch-fix/ Something useful every once in a while... Thu, 22 Feb 2018 10:15:18 +0000 hourly 1 https://wordpress.org/?v=4.9.8 By: John http://usefulmix.com/wordpress-nginx-varnish-jetpack-xml_rpc-32700-glitch-fix/#comment-16885 Thu, 22 Feb 2018 10:15:18 +0000 http://usefulmix.com/?p=46#comment-16885 I was facing this glitch for quite some time. This workaround works. Thanks.

]]>
By: Brandon Kraft http://usefulmix.com/wordpress-nginx-varnish-jetpack-xml_rpc-32700-glitch-fix/#comment-13194 Wed, 05 Oct 2016 21:36:56 +0000 http://usefulmix.com/?p=46#comment-13194 Howdy! I’m from Jetpack support. There are a couple of ways around this issue.

If your server uses the `HTTP_X_FORWARDED_PORT` value on the $_SERVER variable, we will use that port number.

Alternatively, you can set define( ‘JETPACK_SIGNATURE__HTTP_PORT’ , 8080 ); in your wp-config.php (where 8080 is whatever port PHP has as $_SERVER[‘SERVER_PORT’];

]]>
By: dp http://usefulmix.com/wordpress-nginx-varnish-jetpack-xml_rpc-32700-glitch-fix/#comment-12973 Wed, 04 May 2016 08:04:44 +0000 http://usefulmix.com/?p=46#comment-12973 The $_SERVER['SERVER_PORT'] = 80; did it for me. Thank you for sharing.

]]>
By: Chris R http://usefulmix.com/wordpress-nginx-varnish-jetpack-xml_rpc-32700-glitch-fix/#comment-12849 Fri, 04 Mar 2016 02:24:30 +0000 http://usefulmix.com/?p=46#comment-12849 Not sure if an update changed things, but this doesn’t work for me. I’m running this exact setup (I am running php 7, but don’t think that’s an issue).

However, I do not have the “nano /etc/nginx/conf.d/yousite.conf” file.

Also, tried adding the “if (req.url ~ “wp-(login|admin)|preview=true|xmlrpc.php|minify.php”) { return (pass); }”, but couldn’t get it to work. I’m still learning, so maybe I didn’t put it in the right spot? I get an error when starting the service.

]]>
By: Pedro Nariyoshi http://usefulmix.com/wordpress-nginx-varnish-jetpack-xml_rpc-32700-glitch-fix/#comment-12146 Sat, 10 Oct 2015 02:12:53 +0000 http://usefulmix.com/?p=46#comment-12146 Sure, go ahead. (;

]]>
By: hasnain http://usefulmix.com/wordpress-nginx-varnish-jetpack-xml_rpc-32700-glitch-fix/#comment-910 Mon, 08 Jun 2015 12:15:52 +0000 http://usefulmix.com/?p=46#comment-910 this thing is not working for my site as i m unable to find nginx in etc folder

]]>
By: The Pirate Web http://usefulmix.com/wordpress-nginx-varnish-jetpack-xml_rpc-32700-glitch-fix/#comment-725 Sat, 07 Feb 2015 12:55:24 +0000 http://usefulmix.com/?p=46#comment-725 Thanks,
It worked for me
<3

]]>
By: Nelson/Roberto http://usefulmix.com/wordpress-nginx-varnish-jetpack-xml_rpc-32700-glitch-fix/#comment-661 Thu, 11 Dec 2014 14:24:10 +0000 http://usefulmix.com/?p=46#comment-661 I think I’ve found a more permanent solution. If the fix works for other people I’m hoping this post will can get updated since a lot of sites link to it.

First you must disable caching as Pedro suggested. My configuration looks like this:

if (req.url ~ "wp-(login|admin)|preview=true|xmlrpc.php|minify.php") { return (pass); }

Then you have to tell jetpack to use port 80 in your wp-config file.

$_SERVER['SERVER_PORT'] = 80;

Once you update your wp-config you might get a 404 error, but that went away for me and now jetpack works perfectly.

Hat Tip to Justin Soo for the solution. http://juzhax.com/2014/08/connect-to-jetpack-using-behind-varnish/

]]>
By: Enlightenment Documentation: Setting up and managing the Jetpack Portfolio - Reader http://usefulmix.com/wordpress-nginx-varnish-jetpack-xml_rpc-32700-glitch-fix/#comment-650 Tue, 02 Dec 2014 19:45:40 +0000 http://usefulmix.com/?p=46#comment-650 […] error, it usually means you are using a proxy or caching server like Varnish that needs to be temporarily disabled until the connection is […]

]]>
By: eswaribai http://usefulmix.com/wordpress-nginx-varnish-jetpack-xml_rpc-32700-glitch-fix/#comment-216 Wed, 23 Jul 2014 07:34:08 +0000 http://usefulmix.com/?p=46#comment-216 This worked for me. Thanks for the code snippet {Pedro Nariyoshi}

]]>