Node closes keep-alive connections after 5s idle, exactly gh's device-flow poll interval, so gh reused a connection the server was closing and the poll failed with connection reset by peer. Proxies that pool upstream connections hit the same race on POSTs, which they do not retry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>