Dubbo:No provider available for the service
2017-08-25 11:04
1696 查看
最近使用dubbo开发过程中遇到了如下问题:
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method queryTemplate in the service com.x.api.service.query.evaluate.TemplateMessageService.
No provider available for the service com.x.api.service.query.evaluate.TemplateMessageService from registry 192.168.11.32:2181 on the consumer 192.168.11.228 using the dubbo version 2.5.3. Please
check if the providers have been started and registered.
问题描述的很清楚,找不到服务的提供者,也就是找不到provider。
小编的目的是要推送消息,检查过自己的服务端和客户端是一致的,那为什么会出现如上错误呢?经过一番探讨,发现小编本地的服务没有问题,但是调用了消息推送的服务,这样一来就需要保证推送消息的服务和调用推送消息服务的客户端的接口路径一致,这样客户端才能找到消息的提供者。
按照服务路径修改之后,问题成功解决。所以在开发过程中还是要格外注意dubbo接口问题!
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method queryTemplate in the service com.x.api.service.query.evaluate.TemplateMessageService.
No provider available for the service com.x.api.service.query.evaluate.TemplateMessageService from registry 192.168.11.32:2181 on the consumer 192.168.11.228 using the dubbo version 2.5.3. Please
check if the providers have been started and registered.
问题描述的很清楚,找不到服务的提供者,也就是找不到provider。
小编的目的是要推送消息,检查过自己的服务端和客户端是一致的,那为什么会出现如上错误呢?经过一番探讨,发现小编本地的服务没有问题,但是调用了消息推送的服务,这样一来就需要保证推送消息的服务和调用推送消息服务的客户端的接口路径一致,这样客户端才能找到消息的提供者。
按照服务路径修改之后,问题成功解决。所以在开发过程中还是要格外注意dubbo接口问题!
相关文章推荐
- Dubbo官方demo 消费者报错:No provider available for the service
- dubbo异常:Failed to check the status of the service . No provider available for the service 解决
- dubbo启动消费者报错:No provider available for the service
- Dubbo错误:No provider available for the service
- Dubbo错误No provider available for the service
- 【Dubbo】no provider available for the service错误解决方案
- dubbo+zookeeper与提供者、消费者之间端口通信问题(No provider available for the service)
- 有时候出现No provider available for the service dubbo错误
- dubbo+zookeeper与提供者、消费者之间端口通信问题(No provider available for the service)
- Dubbo client 启动报错:No provider available for the service use dubbo version 2.5.3
- dubbo+zookeeper与提供者、消费者之间端口通信问题(No provider available for the service)
- dubbo实战---No provider available for the service
- Dubbo: Failed to check the status of the service . No provider available for the service
- Dubbo学习笔记:No provider available for the service ...异常问题的解决
- dubbo+zookeeper与提供者、消费者之间端口通信问题(No provider available for the service)
- dubbo异常:Failed to check the status of the service . No provider available for the service 解决
- Failed to check the status of the service. No provider available for the service【已解决】
- The POM for XXX:jar:${com.ld.base.service.version} is missing, no dependency information available
- No provider available from registry 127.0.0.1:2181 for service com.focussend.email.service.EdmTaskS
- spring pom文件报错:提示no declaration can be found for element 'dubbo:service'.