2025-07-06 181503,761 - DEBUG livekit.agents - received user transcript {"user_transcript": "Testing one two three.", "language": "en-US", "pid": 25048, "job_id": "AJ_BVEuvjtdfRW2"}
2025-07-06 181512,781 - DEBUG livekit.agents - received user transcript {"user_transcript": "Testing.", "language": "en-US", "pid": 25025, "job_id": "AJ_S8RTv4J7atcT"}
2025-07-06 181519,904 - DEBUG livekit.agents - received user transcript {"user_transcript": "Testing one two three.", "language": "en-US", "pid": 25025, "job_id": "AJ_S8RTv4J7atcT"}
2025-07-06 181532,958 - DEBUG livekit.agents - received user transcript {"user_transcript": "Bar barbershop.", "language": "en-US", "pid": 25048, "job_id": "AJ_BVEuvjtdfRW2"}
2025-07-06 181541,791 - WARNING livekit - livekit:rtc engine453livekit:rtc_engine - received session close: "signal client closed: \"stream closed\"" UnknownReason Resume {"pid": 25025, "job_id": "AJ_S8RTv4J7atcT"}
2025-07-06 181541,797 - INFO livekit.agents - process exiting {"reason": "room disconnected", "pid": 25025, "job_id": "AJ_S8RTv4J7atcT"}
2025-07-06 181541,797 - DEBUG livekit.agents - shutting down job task {"reason": "room disconnected", "user_initiated": false, "pid": 25025, "job_id": "AJ_S8RTv4J7atcT"}
2025-07-06 181541,797 - DEBUG livekit.agents - http_session(): closing the httpclient ctx {"pid": 25025, "job_id": "AJ_S8RTv4J7atcT"}
2025-07-06 181541,798 - ERROR livekit.plugins.deepgram - Error in recv_task
Traceback (most recent call last):
File "/Users/nsandell123/Desktop/modular-instance-b5dtzs/venv/lib/python3.13/site-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs
return await fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nsandell123/Desktop/modular-instance-b5dtzs/venv/lib/python3.13/site-packages/livekit/plugins/deepgram/stt.py", line 546, 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) {"pid": 25025, "job_id": "AJ_S8RTv4J7atcT"}
2025-07-06 181541,800 - WARNING livekit.agents - failed to recognize speech, retrying in 2.0s
Traceback (most recent call last):
File "/Users/nsandell123/Desktop/modular-instance-b5dtzs/venv/lib/python3.13/site-packages/livekit/agents/stt/stt.py", line 229, in _main_task
return await self._run()
^^^^^^^^^^^^^^^^^
File "/Users/nsandell123/Desktop/modular-instance-b5dtzs/venv/lib/python3.13/site-packages/livekit/plugins/deepgram/stt.py", line 577, in _run
task.result()
~~~~~~~~~~~^^
File "/Users/nsandell123/Desktop/modular-instance-b5dtzs/venv/lib/python3.13/site-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs
return await fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nsandell123/Desktop/modular-instance-b5dtzs/venv/lib/python3.13/site-packages/livekit/plugins/deepgram/stt.py", line 546, 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) {"tts": "livekit.plugins.deepgram.stt.STT", "attempt": 2, "streamed": true, "pid": 25025, "job_id": "AJ_S8RTv4J7atcT"}
Can you explain why deepgram randomly messes up despite receiving my transcript earlier