agentscope-java icon indicating copy to clipboard operation
agentscope-java copied to clipboard

[Bug]: a2a 调用sub agent超时,sub agent不通

Open jinguchu opened this issue 10 months ago • 2 comments

sub agent: agent-goms-service: (代码复制的tea business中的)

Image [application-local.yml](https://github.com/user-attachments/files/24872081/application-local.yml) [pom.xml](https://github.com/user-attachments/files/24872104/pom.xml)

agent: dbu-service: (代码复制的tea中) Image application-local.yml pom.xml

nacos截图信息:

Image

dbu service报错信息: [HOOK] PreActingEvent - Tool: callBusinessAgent, Input: {context=查询下订单12123129454, userId=12123129454} 2026-01-27 08:54:46.259 INFO [TID: N/A] 9924 --- [oundedElastic-4] io.agentscope.core.a2a.agent.A2aAgent : [961e7d82-e9fb-434f-ae42-ba5fe5a3edda] A2aAgent start call. 2026-01-27 08:59:46.249 WARN [TID: N/A] 9924 --- [ parallel-10] io.agentscope.core.tool.ToolExecutor : Tool call failed: callBusinessAgent

java.lang.RuntimeException: Tool execution timeout after PT5M at io.agentscope.core.tool.ToolExecutor.applyTimeout(ToolExecutor.java:311) ~[agentscope-core-1.0.9-SNAPSHOT.jar:na]

jinguchu avatar Jan 27 '26 02:01 jinguchu

@KomachiSion PTAL

AlbumenJ avatar Jan 29 '26 06:01 AlbumenJ

执行超时了, 建议看一下远端的Agent是否有及时返回内容, 或者是否回复时间过长导致主Agent认为已经超时了。

KomachiSion avatar Feb 06 '26 07:02 KomachiSion