Found during #39's fix (PR #113). src/runtime/server/telemetry_streamer.cpp:41-51 has the identical pattern: sets the Authorization header once at Connect, and ixwebsocket auto-reconnects reusing that stored header on every retry. Its token comes from config's telemetry_token or falls back to the ServerDB token. Same class of bug as #39 (reconnect after token expiry gets rejected and never recovers) — likely the same fix shape applies (refresh-on-401 before the next reconnect attempt).
Found during #39's fix (PR #113). src/runtime/server/telemetry_streamer.cpp:41-51 has the identical pattern: sets the Authorization header once at Connect, and ixwebsocket auto-reconnects reusing that stored header on every retry. Its token comes from config's telemetry_token or falls back to the ServerDB token. Same class of bug as #39 (reconnect after token expiry gets rejected and never recovers) — likely the same fix shape applies (refresh-on-401 before the next reconnect attempt).