a9ca5b4e68
Confirmed H5 (ephemeral-port exhaustion): agentClient() builds a new http.Transport per call (IdleConnTimeout:0, never CloseIdleConnections) -> ~5.8k leaked idle ESTABLISHED sockets/day to 162:8443, exhausts the 28k ephemeral range in ~5 days of controller uptime -> EADDRNOTAVAIL. :8006 immune (controller never dials pveproxy). Cleared by restart. H1/H2/H3/H4/H6 ruled out with positive evidence. Fix is controller-side (reuse one Client), NOT an agent rebind. No changes applied. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>