https://retellai.com/?utm_source=discord&utm_medium=seo logo
Urgent: Websocket Connection Error
# ❓・bug-report
f
We encountered an error on this call with ID: call_07a852b56e1d41365ba973947ab where there is a roughly 3 minute delay between when the last agent response is sent and the next user message is received in our logs. I can see the user messages in the Retell call data with the correct timestamps, however it does not appear as though they were sent to our websocket server when they were spoken on the call. Can you see anything in the logs on your end that would indicate why there is such a long delay between the user saying "Hello?" on the call and our websocket actually receiving that message? Here is our second example of this happening: https://dashboard.retellai.com/call-history?history=call_719a222fca9a188537e003399b9
a
I can help analyze this delay. It looks like the user messages are logged correctly in Retell but aren’t reaching your websocket in real time, which could point to network latency, websocket handling, or audio buffering issues. Can you confirm if this happens consistently across calls or only in specific scenarios? @fluse29
f
@Adrian Praise It does not happen consistently across all calls. These are the only two calls so far in my investigation that I've found to be affected. Is there anything I can do on my end to help identify the root cause?
a
Thanks for checking that—it helps. Since it’s only happening on a few isolated calls, the next step is to compare the audio event stream, websocket connection stability, and any retry behavior during those timestamps. If you can share the raw event logs or the streaming timeline for those two calls, I can pinpoint exactly where the delay originates. I can assist you directly with the analysis, and we can discuss the details privately for a faster resolution @fluse29
f
@Adrian Praise Sending you a DM with the raw event logs I have for the calls
@Adrian Praise Followed up with you privately with our logs