5
405 Error Throwing When Updating Plugins With Instant Reload On
complete
Nguyen Tong
When Instant Reload is enabled, updating any plugins would throw a 405 NGINX error. Reproduced on Local 5.9.2 MacOS Catalina.
Activity Feed
Sort by
Jessica Braun
This bug fix shipped in Local v 5.9.4 https://localwp.com/releases/5.9.4
Elena Dosil
Another ticket: https://flywheelhelp.zendesk.com/agent/tickets/14468430
Elena Dosil
On 5.9.3 updating plugins with Instant Reload enabled throws a 502 error. I was able to reproduce.
Local logs:
2020/11/30 15:02:56 [error] 9269#0: *279 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: dummy.local, request: "GET /browser-sync/socket.io/?EIO=3&transport=polling&t=NOPTfeq&sid=GMSlxz1DMmWtgRjlAAAD HTTP/1.1", upstream: "http://127.0.0.1:3000/browser-sync/socket.io/?EIO=3&transport=polling&t=NOPTfeq&sid=GMSlxz1DMmWtgRjlAAAD", host: "dummy.local", referrer: "http://dummy.local/wp-admin/update-core.php?action=do-plugin-upgrade"
2020/11/30 15:02:56 [warn] 9269#0: *279 upstream server temporarily disabled while reading response header from upstream, client: 127.0.0.1, server: dummy.local, request: "GET /browser-sync/socket.io/?EIO=3&transport=polling&t=NOPTfeq&sid=GMSlxz1DMmWtgRjlAAAD HTTP/1.1", upstream: "http://127.0.0.1:3000/browser-sync/socket.io/?EIO=3&transport=polling&t=NOPTfeq&sid=GMSlxz1DMmWtgRjlAAAD", host: "dummy.local", referrer: "http://dummy.local/wp-admin/update-core.php?action=do-plugin-upgrade"
2020/11/30 15:02:56 [error] 9269#0: *229 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: dummy.local, request: "GET /wp-admin/update.php?action=update-selected&plugins=shipper%2Fshipper.php&_wpnonce=abcef1bf44 HTTP/1.1", upstream: "http://127.0.0.1:3000/wp-admin/update.php?action=update-selected&plugins=shipper%2Fshipper.php&_wpnonce=abcef1bf44", host: "dummy.local", referrer: "http://dummy.local/wp-admin/update-core.php?action=do-plugin-upgrade"
2020/11/30 15:02:56 [warn] 9269#0: *229 upstream server temporarily disabled while reading response header from upstream, client: 127.0.0.1, server: dummy.local, request: "GET /wp-admin/update.php?action=update-selected&plugins=shipper%2Fshipper.php&_wpnonce=abcef1bf44 HTTP/1.1", upstream: "http://127.0.0.1:3000/wp-admin/update.php?action=update-selected&plugins=shipper%2Fshipper.php&_wpnonce=abcef1bf44", host: "dummy.local", referrer: "http://dummy.local/wp-admin/update-core.php?action=do-plugin-upgrade"
2020/11/30 15:02:56 [error] 9269#0: *279 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: 127.0.0.1, server: dummy.local, request: "GET /browser-sync/socket.io/?EIO=3&transport=polling&t=NOPTfeq&sid=GMSlxz1DMmWtgRjlAAAD HTTP/1.1", upstream: "http://[::1]:3000/browser-sync/socket.io/?EIO=3&transport=polling&t=NOPTfeq&sid=GMSlxz1DMmWtgRjlAAAD", host: "dummy.local", referrer: "http://dummy.local/wp-admin/update-core.php?action=do-plugin-upgrade"
2020/11/30 15:02:56 [warn] 9269#0: *279 upstream server temporarily disabled while connecting to upstream, client: 127.0.0.1, server: dummy.local, request: "GET /browser-sync/socket.io/?EIO=3&transport=polling&t=NOPTfeq&sid=GMSlxz1DMmWtgRjlAAAD HTTP/1.1", upstream: "http://[::1]:3000/browser-sync/socket.io/?EIO=3&transport=polling&t=NOPTfeq&sid=GMSlxz1DMmWtgRjlAAAD", host: "dummy.local", referrer: "http://dummy.local/wp-admin/update-core.php?action=do-plugin-upgrade"
2020/11/30 15:02:56 [error] 9269#0: *229 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: 127.0.0.1, server: dummy.local, request: "GET /wp-admin/update.php?action=update-selected&plugins=shipper%2Fshipper.php&_wpnonce=abcef1bf44 HTTP/1.1", upstream: "http://[::1]:3000/wp-admin/update.php?action=update-selected&plugins=shipper%2Fshipper.php&_wpnonce=abcef1bf44", host: "dummy.local", referrer: "http://dummy.local/wp-admin/update-core.php?action=do-plugin-upgrade"
2020/11/30 15:02:56 [warn] 9269#0: *229 upstream server temporarily disabled while connecting to upstream, client: 127.0.0.1, server: dummy.local, request: "GET /wp-admin/update.php?action=update-selected&plugins=shipper%2Fshipper.php&_wpnonce=abcef1bf44 HTTP/1.1", upstream: "http://[::1]:3000/wp-admin/update.php?action=update-selected&plugins=shipper%2Fshipper.php&_wpnonce=abcef1bf44", host: "dummy.local", referrer: "http://dummy.local/wp-admin/update-core.php?action=do-plugin-upgrade"
2020/11/30 15:02:56 [error] 9269#0: *229 no live upstreams while connecting to upstream, client: 127.0.0.1, server: dummy.local, request: "POST /browser-sync/socket.io/?EIO=3&transport=polling&t=NOPTgk7&sid=GMSlxz1DMmWtgRjlAAAD HTTP/1.1", upstream: "http://localhost/browser-sync/socket.io/?EIO=3&transport=polling&t=NOPTgk7&sid=GMSlxz1DMmWtgRjlAAAD", host: "dummy.local", referrer: "http://dummy.local/wp-admin/update-core.php?action=do-plugin-upgrade"