Resolvedssestreamingbug

SSE connection drops mid-response, UI stuck on "Searching..." forever

1,567 views2 replies27 likes
TV
Tomas V.

Platform Engineer · Posted 11 days ago

Jarvis starts streaming a response, gets 2-3 sentences in, stops. UI shows 'Searching...' and never recovers. Session in the backend shows as completed. Appears to be an SSE connection drop that the frontend doesn't detect.

2 Replies

Accepted answer
RT
Raj (Jarvis Team)Staff11 days ago

Support Engineer · DeskClone AI

Known issue fixed in the 2026-04-14 release. Root cause: the SSE connection didn't have a heartbeat, so when the Lambda finished cold and the connection silently closed, the frontend had no way to know.

Fix in production now: 10-second heartbeat on the SSE stream. If the frontend doesn't see a heartbeat for 20 seconds, it reconnects to /sessions/{id}/events?resume_from={last_seq} and picks up from where it left off.

Hard refresh the app to pick up the new frontend bundle if you haven't in the last week.

38
TV
Tomas V.10 days ago

Platform Engineer

Confirmed fixed after hard refresh. Intentionally killed my network mid-session to test, frontend reconnected within ~20s and resumed the response. Nice.

11