Hi LiveKit team :wave: We’re currently facing an i...
# ask-ai
o
Hi LiveKit team 👋 We’re currently facing an issue with uploading the transcript and JSON file from our voice agent jobs. The logs are showing repeated warnings like the following:
Copy code
PublishTranscriptionError: failed to send transcription, room closed: channel closed
ConnectionError: engine: connection error: engine is closed
These errors occur during the transcript upload phase — it seems the room connection is closing before the transcription or JSON data is fully published. Sample log details: • `job_id`: AJ_s3kBt9kbLU3q • `timestamp`: 2025-10-03T142826–30 UTC • `file`:
/app/.venv/lib/python3.11/site-packages/livekit/agents/voice/room_io/_output.py
Could you please help us understand what might cause the “room closed: channel closed” and “engine is closed” errors during transcription publishing? Is there any recommended way to ensure the transcription is flushed before the room teardown, or to safely retry publishing after disconnection? Thread in Slack Conversation
t
Thanks for reaching out, HRFY. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you please share a bit more about your setup and how your workflow looks? Specifically: • Are you using any particular SDKs or APIs for transcription publishing? • What usually triggers the room teardown in your process? • Do you have any custom configurations or timeout settings applied to the room or connection? Understanding these details will really help us get to the heart of the issue and offer you the best possible support.