Model: gemini-3.1-flash-live-preview (Gemini API via generativelanguage.googleapis.com WebSocket, half-cascade audio, de-DE, session resumption enabled)
Summary: Until Aug 3 we reliably received the documented goAway notice (~50 s timeLeft) before every connection termination. Since Aug 4 it has stopped arriving — connections now close hard (1006, empty reason) or die completely silently with no close frame at all. The connection lifetime itself is roughly unchanged (~8–9 min); only the advance warning is gone.
Evidence from a nightly automated check (identical probe every night at 01:25 CET: open a session, stay idle, measure time to termination and whether GoAway precedes it):
- Aug 1: GoAway after 540.3 s, timeLeft “50s”, clean close
- Aug 2: GoAway after 540.3 s, clean close
- Aug 3: GoAway after 540.3 s, clean close
- Aug 4: hard close 1006 (empty reason) after 533.1 s — no GoAway
- Aug 5: hard close 1006 after 523.1 s — no GoAway
- Aug 6: hard close 1006 after 480.6 s — no GoAway (the lifetime also appears to be shrinking)
The probe code is unchanged since Jul 25 — the same instrument that measured green through Aug 3 measures red since Aug 4.
Corroboration from live sessions (different network, different codebase):
- Aug 4, morning: a 15-minute session still received one GoAway at min ~8.9 (timeLeftMs: 50000) — so the change appears to have rolled out gradually during Aug 4.
- Aug 5: an 18.9-minute session received no GoAway at all; the connection died silently twice (min ~7.3 and ~15.8) — no close frame, wasClean: false. These sessions stream audio continuously, so idle timeouts on the network path don’t apply; we only detect the death via a response watchdog (~7 s), after which a resume reconnect succeeds in <1 s with context intact.
- Aug 6: same pattern again, silent death ~7 min into a session.
Impact: Without GoAway the documented graceful-handover pattern is impossible; every ~7–9 minutes users now experience several seconds of “the assistant stopped responding” before watchdog-based recovery kicks in.
Questions:
- Was there a server-side change around Aug 3/4 affecting GoAway delivery for gemini-3.1-flash-live-preview?
- Is GoAway still a guaranteed part of the connection-termination contract, or should clients now treat silent connection death as expected?
- Possibly related to the ongoing investigation in this thread (1011s / resumption on the same model)?
An earlier report of GoAway-less closes (idle case, Dec 2025) is here — at the time the answer was “timeout and GOAWAY notification work correctly”. Our measurements show a clean before/after break on Aug 3→4, so this looks like a fresh server-side regression rather than a client issue.
Happy to provide exact timestamps or sanitized logs if that helps reproduce.