omi icon indicating copy to clipboard operation
omi copied to clipboard

iOS transcription reconnect timer can start overlapping WebSocket attempts

Open axAilotl opened this issue 3 months ago • 0 comments

On the production iOS app with a freshly paired CV1 running stock firmware 3.0.21, the capture log recorded transcription reconnect attempt 24 starting at 2026-08-09 20:21:26.820 UTC and attempt 25 starting at 20:21:39.015, before attempt 24 completed; both then reached service-ready at 20:21:40.534. The production path in app/lib/services/capture/capture_controller.dart starts a Timer.periodic async callback that can call _initiateWebsocket() again without an in-flight attempt guard. Expected behavior is at most one pending live-transcription connection attempt per capture session; the overlap can create duplicate /v4/listen sessions and race the UI/controller state.

axAilotl avatar Aug 10 '26 03:08 axAilotl