You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Custom STT stops completely whenever Omi's own live socket fails #20381
Custom STT stops completely whenever Omi's own live socket fails
App: iOS 1.0.553/1.0.554 · Mode: Custom (real-time) STT, "Send raw audio to Omi" on · Device: Omi pendant
What happens
With custom live STT, the app runs two sockets through CompositeTranscriptionSocket:
the user's STT server (primary);
Omi's /v4/listen (secondary).
If the secondary fails to connect, or drops, the composite tears down the primary as well, then retries both every ~15 s. While Omi's listen socket is unavailable, the user's own transcription is therefore down too, even though their server is healthy.
56 sessions today were opened and then closed by the app within ~0.6 s with CloseStream and no audio.
They came in bursts at 09:42, 15:18–15:20, 17:21–17:42 and 20:06–20:10.
Meanwhile Omi's REST API (/v1/mcp/people) answered normally from the same network at 17:52, 18:52 and 19:52.
Separately, between 17:48 and 20:06 no connection attempts reached my server at all, despite app restarts. That cause is unknown and is not addressed here.
Expected
A secondary (Omi) failure should not take down the primary. Custom STT should keep streaming and Omi should be retried in the background. Audio that never reached Omi must stay in the WAL for later sync.
Proposed fix
PR attached: opt-in keepPrimaryWhenSecondaryFails, enabled for the live custom-STT composite.
Activity
fix(app): keep custom STT live when Omi's listen socket fails
aryanorastar commentedon Oct 29, 2026
Fixed on main in
fd929e7d1d02. Live custom STT keeps the primary socket up when Omi's listen socket fails, and retries only the secondary socket.