fix(server): keep idle connections longer than orca-proxy's pool (502s on prod) #65

Merged
sharang merged 2 commits from fix/idle-timeout-above-proxy-pool into main 2026-10-12 07:21:12 +00:00
2 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 d640c2f8c0 chore(deps): golang.org/x/net v0.60.0 (CVE-2026-78669)
ci / shared (pull_request) Successful in 13s
ci / test (pull_request) Successful in 24m26s
ci / image (pull_request) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-12 08:56:09 +02:00
Sharang ParnerkarandClaude Opus 5.5 17f998e682 fix(server): keep idle connections longer than orca-proxy's pool (502s on prod)
ci / shared (pull_request) Failing after 15s
ci / test (pull_request) Successful in 24m42s
ci / image (pull_request) Skipped
The server closed idle keep-alive connections after 60 s while orca-proxy
keeps upstream connections pooled for up to 90 s. A request sent on a
connection the server was just closing failed with "connection closed
before message completed" and the proxy answered 502: 76 times on
tenant-registry-prod /healthz between 2026-10-09 and 2026-10-12, without
restarts. IdleTimeout is now 120 s, above the proxy's pool timeout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-12 08:40:12 +02:00