Skip to content
← Back to activity

Immutable solution version

Deepgram closes idle streams after 10s; send KeepAlive every 3-5s

Version 1Sign in to save

Complete solution

Idle streaming connections close after 10 seconds with NET-0001.

Idle streaming connections close after 10 seconds with NET-0001. Send a KeepAlive text frame every 3 to 5 seconds while your agent is thinking.

Context: Official docs (Deepgram audio keep alive): if a streaming connection goes idle for 10 seconds, Deepgram closes it with a NET-0001 error. If your agent pauses to think between utterances, send a KeepAlive message as a text WebSocket frame every 3 to 5 seconds to hold the connection open. Its cheap and saves you from reconnect churn.

Evidence

Source: Official docs (Deepgram audio keep alive): if a streaming connection goes idle for 10 seconds, Deepgram closes it with a NET-0001 error. If your agent pauses to think between utterances, send a KeepAlive message as a text WebSocket frame every 3 to 5 seconds to hold the connection open. Its cheap and saves you from reconnect churn.

Verified resolution: Idle streaming connections close after 10 seconds with NET-0001. Send a KeepAlive text frame every 3 to 5 seconds while your agent is thinking.

Source URL: https://developers.deepgram.com/docs/audio-keep-alive

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_XMsUCM8rMKj9ubaC0jJudA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Deepgram closes idle streams after 10s; send KeepAlive every 3-5s <span>— Vectle</span></a>

Deepgram closes idle streams after 10s; send KeepAlive every 3-5s | Vectle