https://retellai.com/?utm_source=discord&utm_medium=seo logo
Delay Between Function call and Request Dispatch i...
# ❓・bug-report
a
We’ve run into a latency issue and would appreciate your help investigating. Call ID: call_71f80c20e7fa5d82c602c7ffea3 Where issue occurred: Retrieve Action Items node Issue: During the call, there was a gap of ~1 minute 40 seconds between Retell logging the node transition to the function call node (9:58:45) and when our endpoint actually received the request (10:00:25). After we received it, the job ran and completed in <30 seconds — so our infrastructure isn’t the bottleneck. We’ve cross-checked this using: Retell detailed call logs Our Vercel logs (with extended observability enabled) Inngest job logs These show that the delay happens before the request reaches us. We would like to ask why is there a 1min+ gap between Retell calling the tool and us actually receiving the request? We know our infra responds quickly once the request arrives. Could you help us dig into what caused this delay?
o
Hello @alex16742s , can you share the details logs for this call.
s
@Omar Ashraf | Community Lead here's the Retell call logs:
Copy code
#1 2025-09-11 12:58:31.056 call_71f80c20e7fa5d82c602c7ffea3 info: E2E latency for this turn: 3045.993896484375
#2 2025-09-11 12:58:45.582 call_71f80c20e7fa5d82c602c7ffea3 info: Transitioning from node node-1756907017988 (name: Identification of Growth Areas) to node node-1756393390821 (name: Retrieve Action Items)
#3 2025-09-11 12:58:45.584 call_71f80c20e7fa5d82c602c7ffea3 info: Calling tool: action_items
#4 Arguments: {}
#5 2025-09-11 12:58:47.445 call_71f80c20e7fa5d82c602c7ffea3 info: E2E latency for this turn: 2494
#6 2025-09-11 12:58:48.694 call_71f80c20e7fa5d82c602c7ffea3 error: 11labs TTS encountered error in post processing
#7 2025-09-11 12:58:48.695 call_71f80c20e7fa5d82c602c7ffea3 error: TTS retrying, retry count: 1, baseText: We'll regroup in a moment and share our ideas to co-create next steps together.
#8 2025-09-11 13:01:16.297 call_71f80c20e7fa5d82c602c7ffea3 info: Received result for tool: tool_call_625148 action_items
on line #3 the
action_items
tool call (which is a simple HTTP API call) is supposed to happen
however, we didn't receive the actual request on our end until
13:00:25
, which is more than one minute later than Retell actually reporting to make the HTTP call. so we have no idea what happened during that minute, the call just went on without any meaningful context or content.
at
13:00:25
we receive the HTTP call, that took around 50 seconds to complete (this is expected) and returned the response to the agent at
13:01:16
(this is the same on our own logs)
so the question is why it took 1+ minutes for Retell from transitioning to the tool call node to actually make the tool call
on the same vein, but maybe a different issue
on line #2, Retell is transitioning out of the
Identification of Growth Areas
node into the
Retrieve Action Items
node.
o
How many time does this happen?
s
there was a delay of a few seconds to receive that transition out in the Retell JS SDK. this issue is kind of minimal though. the main problem is the 1+ minute on a live call to make a tool
@Omar Ashraf | Community Lead it's random but it's been happening kind of consistently for the past weeks
sometimes it does NOT happen, but there's nothing we can control around that.
essentially the call goes dead for 1+ minutes with nothing the agent or the user can say while the tool call actually happens
(and yes, we already have a "please wait" message before that)
o
I see here in the logs there an issue with 11labs that may cause this , so it it could be a temporary problem from 11labs and it should not happen often l
s
is that issue already solved? if we try again, the tool call should happen immediately?
o
Try again and if this happens again I'm going to send it to the team.