dubbo-spring-boot-project
dubbo-spring-boot-project copied to clipboard
Failed to invoke the method $echo in the service com.xxxcompany.api.fileservice.UploadServiceAPI
UploadServiceAPI 可以正常使用,注册消费均正常,但是在引用了UploadServiceAPI的服务中,actuator会出现如下状态 Failed to invoke the method $echo in the service com.xxxcompany.api.fileservice.UploadServiceAPI
{ "status": "DOWN", "dubbo": { "status": "DOWN", "ClassIdBean [interfaceClass=interface com.xxxcompany.api.sms.SmsSendApi, group=null, version=null]": "UP", "ClassIdBean [interfaceClass=interface com.xxxcompany.api.fileservice.UploadServiceAPI, group=null, version=null]": "DOWN, message: Failfast invoke providers hessian://10.1.1.68:8383/fileupload/com.xxxcompany.api.fileservice.UploadServiceAPI?anyhost=true&application=data-provider-pad&check=false&cluster=failfast&default.retries=0&default.timeout=10000&dubbo=2.6.0&generic=false&interface=com.xxxcompany.api.fileservice.UploadServiceAPI&lazy=true&methods=download,upload&pid=11528®ister.ip=10.1.3.118&remote.timestamp=1558681907584&server=jetty&side=consumer×tamp=1559186725707 RandomLoadBalance select from all providers [com.alibaba.dubbo.registry.integration.RegistryDirectory$InvokerDelegate@7569a0a3] for service com.xxxcompany.api.fileservice.UploadServiceAPI method $echo on consumer 10.1.3.118 use dubbo version 2.6.0, but no luck to perform the invocation. Last error is: Failed to invoke remote proxy method $echo to hessian://10.1.1.68:8383/fileupload/com.xxxcompany.api.fileservice.UploadServiceAPI?anyhost=true&application=data-provider-pad&check=false&cluster=failfast&default.retries=0&default.timeout=10000&dubbo=2.6.0&generic=false&interface=com.xxxcompany.api.fileservice.UploadServiceAPI&lazy=true&methods=download,upload&pid=11528®ister.ip=10.1.3.118&remote.timestamp=1558681907584&server=jetty&side=consumer×tamp=1559186725707, cause: Not found method "$echo" in class com.xxxcompany.api.fileservice.UploadServiceAPI.", "ClassIdBean [interfaceClass=interface com.xxxcompany.robot.serviceapi.TemperatureMonitorApi, group=null, version=null]": "UP", "ClassIdBean [interfaceClass=interface com.xxxcompany.robot.serviceapi.ServiceApi, group=null, version=null]": "UP", "ClassIdBean [interfaceClass=interface com.xxxcompany.robot.serviceapi.BloodOximeteMonitorApi, group=null, version=null]": "UP",
},
"jms": {
"status": "UP",
"provider": "ActiveMQ"
},
"diskSpace": {
"status": "UP",
"total": 126981165056,
"free": 22007058432,
"threshold": 10485760
},
"redis": {
"status": "UP",
"version": "5.0.3"
},
"db": {
"status": "UP",
"database": "MySQL",
"hello": 1
}
}