I have a long running agent task and I show the status in the frontend (spinning icon for step/state) and I noticed that the UI timed out even though the backend (Langgraph) agent successfully completed processing all the steps.
Is there a way to configure the timeout setting?
Here's the error I received:
[13:02:35.206] ERROR: terminated
component: "remote-actions.remote-lg-action.streamEvents"
endpoint: {
"deploymentUrl": "http://localhost:2024",
"langsmithApiKey": "api_key",
"agents": [
{
"name": "SupervisorAgentGraph",
"description": "Co-Pilot"
}
],
"type": "langgraph-platform"
}
err: {
"type": "TypeError",
"message": "terminated: Body Timeout Error",
"stack":
TypeError: terminated
at Fetch.onAborted (node:internal/deps/undici/undici:11132:53)
at Fetch.emit (node:events:507:28)
at Fetch.terminate (node:internal/deps/undici/undici:10290:14)
at Object.onError (node:internal/deps/undici/undici:11253:38)
at Request.onError (node:internal/deps/undici/undici:2094:31)
at Object.errorRequest (node:internal/deps/undici/undici:1591:17)
at Socket.<anonymous> (node:internal/deps/undici/undici:6319:16)
at Socket.emit (node:events:519:35)
at TCP.<anonymous> (node:net:351:12)
at TCP.callbackTrampoline (node:internal/async_hooks:130:17)
caused by: BodyTimeoutError: Body Timeout Error
at FastTimer.onParserTimeout [as _onTimeout] (node:internal/deps/undici/undici:6253:32)
at Timeout.onTick [as _onTimeout] (node:internal/deps/undici/undici:2210:17)
at listOnTimeout (node:internal/timers:608:17)
at process.processTimers (node:internal/timers:543:7)
}