Hi everyone :wave: We're experiencing a critical i...
# jobs
a
Hi everyone šŸ‘‹ We're experiencing a critical issue integrating Hedra Live Avatar + LiveKit Agents + OpenAI Realtime + ElevenLabs and need expert assistance. Support directed us here, but we haven't received responses yet. šŸ”“ The Problem: Our agent session closes immediately (<1 second) after the remote participant becomes ready, causing intermittent pipeline failures. The session teardown happens with
signal client closed: "stream closed"
error. šŸ“Š Key Logs:
Copy code
2025-11-19 15:59:37,560 - livekit.agents - DEBUG - remote participant ready
2025-11-19 15:59:38,000 - livekit.agents - DEBUG - shutting down job task
2025-11-19 15:59:38,004 - livekit - DEBUG - Received close frame: Some(CloseFrame { code: Normal, reason: "" })
2025-11-19 15:59:38,011 - livekit - WARNING - received session close: "signal client closed: \"stream closed\"" UnknownReason Resume
ā“ Main Questions: 1. Is
signal client closed: "stream closed"
a server-side timeout or infrastructure issue? 2. Why would the session close immediately after participant ready? 3. Is this a known issue with the Hedra + LiveKit integration? šŸ’° We're Open to Paid Consulting: If anyone has experience solving this or similar issues with LiveKit Agents, we're happy to discuss paid consulting rates. Please DM me or respond here. Additional Context: • Behavior is intermittent (not every session) • Happens during the critical handoff between participant ready and agent start • Full logs available upon request Any guidance would be immensely appreciated. Time-sensitive project. Thanks in advance! šŸ™
f
Hi Diego, I always recommend reaching out to LiveKit support directly first for critical issues, but if they've directed you to Slack I'm happy to help. Feel free to DM me and we can discuss details around your issue.
w
Isn't it a timeout issue? Try to increase the timeout during initialization
Copy code
if __name__ == "__main__":
    cli.run_app(WorkerOptions(entrypoint_fnc=entrypoint, initialize_process_timeout=60))