https://retellai.com/?utm_source=discord&utm_medium=seo logo
LiveKit Timeout
# ❓・bug-report
c
I'm suddenly getting the following error on our phone calls. (custom phone calls) Just started this very moment: Premature Cancellation: The calling system (LiveKit) cancelled the call before it could be established. This typically happens due to: Timeout: The caller-side timeout was too short Configuration Issue: LiveKit might be configured with an aggressive timeout Network Delay: The response took longer than expected Timing Issue: The CANCEL came almost immediately after the second INVITE, suggesting the timeout value is set too low for this call path.
No other changes made
s
hi @chrismosely thanks for reaching out.You are encountering a “Premature Cancellation” error meaning LiveKit sent a cancel before the call was established it often due to timeouts. Follow these steps 1- Increase dialing and session setup timeout in LiveKit settings or UPSTREAM timeout config 2-Ensure invite response times are within 5sec confirm SIP failure paths aren't overly aggressive 3-Turn on detailed SIP logs or traces to see invite & cancel timing, and provider responses. you can try with alternatives