Deepgram STT: deepgram connection closed unexpectedly #1479
Replies: 3 comments
-
|
Thanks for asking your question. Please be sure to reply with as much detail as possible so the community can assist you efficiently. |
Beta Was this translation helpful? Give feedback.
-
|
Hey there! It looks like you haven't connected your GitHub account to your Deepgram account. You can do this at https://community.deepgram.com - being verified through this process will allow our team to help you in a much more streamlined fashion. |
Beta Was this translation helpful? Give feedback.
-
|
It looks like we're missing some important information to help debug your issue. Would you mind providing us with the following details in a reply?
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We are using deepgram STT in voice call using livekit framework. Frequently we get below error from the deepgram websocket API. We are not able to find any issue at our end and it looks like deepgram is rejecting connection. Can anyone let us know what might be the issue here
2025-12-01 18:21:38,439 - ERROR - Error in recv_task
Traceback (most recent call last):
File "/home/ubuntu/sip/venv/lib/python3.12/site-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs
return await fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/sip/venv/lib/python3.12/site-packages/livekit/plugins/deepgram/stt.py", line 481, in recv_task
raise APIStatusError(message="deepgram connection closed unexpectedly")
livekit.agents._exceptions.APIStatusError: deepgram connection closed unexpectedly (status_code=-1, request_id=None, body=None, retryable=True)
2025-12-01 18:21:38,439 - ERROR - Error in recv_task
Traceback (most recent call last):
File "/home/ubuntu/sip/venv/lib/python3.12/site-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs
return await fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/sip/venv/lib/python3.12/site-packages/livekit/plugins/deepgram/stt.py", line 481, in recv_task
raise APIStatusError(message="deepgram connection closed unexpectedly")
livekit.agents._exceptions.APIStatusError: deepgram connection closed unexpectedly (status_code=-1, request_id=None, body=None, retryable=True)
Beta Was this translation helpful? Give feedback.
All reactions