Closed
Labels
bugSomething isn't working
Description
Describe the bug
1、Agentscope Service External 心跳健康检查
2、不启用grpc无法由ControlPlane进行消息对话。提示asdp: instance not connected
To Reproduce
Steps to reproduce the behavior:
public class AgentControlPlaneConfiguration {
@Bean(destroyMethod = "close")
public SessionBridge sessionBridge(HarnessAgent defaultAgent, ControlPlaneConfig controlPlaneConfig, AgentScopeAdapter agentScopeAdapter) {
return ControlPlane.instrument(defaultAgent, controlPlaneConfig, agentScopeAdapter);
}
@Bean
public AgentScopeAdapter agentScopeAdapter() {
return new AgentScopeAdapter();
}
@Bean
public ControlPlaneConfig controlPlaneConfig() {
return ControlPlaneConfig.builder("default-agent")
.controlPlaneHttp("http://192.168.6.110:18080")
.internalToken("aa123e7d0ca109d9ea8144b1f6c3ba1cd6524f3fb48e95e3e53192eeab7647e6")
.registrationCredential("asreg_gxy-zqKlUuSey4bcjF2AwpH2ffLAwK7dciCkkUXs0vc")
.tenant("default")
.namespace("default")
.contractHttpPort(18090)
.publicBaseUrl("http://192.168.2.213:18090")
.startHttpRegister(true)
.startHttp(true)
.build();
}
}
Environment (please complete the following information):
- AgentScope-Java Version: 2.1.0-BETA1
- AgentScope Service Version: 2.1.0-BETA1
- Java Version: [e.g. 17]
- OS: windows
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
Merge branch 'main' into fix/agentscope-aigh-3703-external-app-heartbeat
fix(controlplane): re-register when the instance heartbeat fails (age…