Upgrade a plugin gives 502 Bad Gateway nginx/1.26.1

Bug Summary

When I upgrade a plugin (All-in-One WP Migration Unlimited Extension) it shows a white screen

Steps to reproduce

Environment Info

Describe your environment.

  • What Operating System are you using? Macos 27
  • What versions of site software (Nginx, PHP, MySQL) is used?
  • What version of Local is installed: I don’t no, installed today 16 sept 2026

Supporting info

Please provide your Local Log. See this Community Forum post for instructions on how to do so:

2026/09/16 14:52:06 [error] 14579#0: *3195 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: , request: “GET /wp-admin/plugins.php?ai1wm_check_for_updates=1&ai1wm_nonce=xxxxxxxx HTTP/1.1”, upstream: “fastcgi://unix:/Users/john/Library/Application Support/Local/run/bRmF9pVO4/php/php-fpm.socket:”, host: “kasteel.local”, referrer: “http://kasteel.local/wp-admin/plugins.php?plugin_status=all&paged=1&s”

Include any screenshots or video recordings of the issue to help others reproduce.

Hi @johnW!

You might check through our performance guide here for some troubleshooting tips.

Specifically, increasing your PHP memory or timeout might be necessary. If you have other plugins installed you might try disabling all of them first, and then updating All in One as they might be competing for resources too.

Lastly, you might double check your network connectivity and ensure nothing is spotty or getting throttled.