Repository navigation
Commit 9a2b333
fix: use hickory-dns to avoid musl getaddrinfo failures in Kubernetes
The supervisor binary is statically linked with musl libc, whose
getaddrinfo sends A+AAAA queries simultaneously on a single UDP socket.
With Kubernetes' default ndots:5 and multiple search domains, external
FQDNs get expanded through all search domains first, generating 12+
concurrent queries whose responses arrive out of order — causing musl
to return zero usable addresses and the router to emit 503 "inference
service unavailable".
Enable the `hickory-dns` feature on reqwest so all HTTP clients use a
pure-Rust DNS resolver instead of musl's getaddrinfo. This bypasses the
concurrent A+AAAA issue entirely and aligns with the supervisor's
static-binary design (no libc dependency for DNS).
Fixes #2053
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent a5161d0 commit 9a2b333
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments