WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » [Resolved] [Plugin: Jetpack by WordPress.com] Bad gateway on Nginx

[Resolved] [Plugin: Jetpack by WordPress.com] Bad gateway on Nginx

  • After authorizing with WordPress.com, I get redirected back to the webserver and get this error:

    502 Bad Gateway

    It’s an NGINX server.

    Refreshing the page will show the connection was successful but I’d like to be able to fix the error. Anyone seen this before and knows what can be done about it?

    Thanks 🙂

    http://wordpress.org/extend/plugins/jetpack/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Anyone seen this before and knows what can be done about it?

    Yes, I have seen that before and adding the following two lines in nginx.conf file, inside the server block fixed it…

    fastcgi_buffers 16 16k;
    fastcgi_buffer_size 32k;

    Fantastic!

    And that seems to have actually solved another issue where the updating plugins page (or even core) would not come back with a “updated successfully” message while the process was executed successfully in the background.

    Thanks for sharing 🙂

    Glad to know it worked for you and solved other issue too. 🙂

    This helps to me

    proxy_buffers 8 32k;
    proxy_buffer_size 64k;

    @manovarus Thanks for sharing what worked for you. You are probably using Nginx as a reverse proxy to Apache. My solution works for a Nginx and php-fpm stack.

    Ok. Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Jetpack by WordPress.com] Bad gateway on Nginx’ is closed to new replies.
Skip to toolbar