Gemini Live API closes sessions at exactly 58 minutes with 1011 "Deadline expired" despite session resumption
In Askie, our voice app for kids (I'm the founder), every gemini-3.8-live session that reaches an hour is closed by the server at almost exactly 58:00 after connect, even with context window compression and session resumption enabled: config = types.LiveConnectConfig( response_modalities=["AUDIO"], session_resumption=types.SessionResumptionConfig(handle=None), context_window_compression=types.ContextWindowCompressionConfig( trigger_tokens=7000, sliding_window=types.SlidingWindow() ), ) Timeline from a standalone google-genai script (no tools): 57:09.8: go_away with time_left=50s 57:59.8: close
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.