com.alibaba.dubbo.rpc.RpcException: No provider available from
程序员文章站
2022-07-15 14:28:38
...
1.没有找到生产者
com.alibaba.dubbo.rpc.RpcException: No provider available from registry 127.0.0.1:2181 for service .... , please check status of providers(disabled, not registered or in blacklist)
2. 查看是不是 对应的providers 没有 注册上去
找到 zk 对应的安装包 : /data/app/zookeeper-3.4.14/bin 找到对应的shell脚本 zkCli.sh
./zkCli.sh 默认连接本地
./zkCli.sh -timeout 0 -r -server ip:port
./zkCli.sh -timeout 5000 -server 192.9.200.242:2181
-r :即使ZooKeeper服务器集群一半以上的服务器当掉,也给客户端提供读服务
ls /dubbo/com.xxx.auth.client.api.service.IUserService/providers
发现没有对应的生产者 ,故此找到原因了
推荐阅读
-
解决java.lang.IllegalStateException: No instances available for service-provider] with root cause java
-
Dubbo报错:no provider available for the service
-
异常处理com.alibaba.dubbo.rpc.RpcException: No provider available from registry 127.0.0.1:2181 for
-
RpcException: No provider available from registry
-
No provider available from registry
-
RpcException: No provider available from registry
-
com.alibaba.dubbo.rpc.RpcException: No provider available from
-
com.alibaba.dubbo.rpc.RpcException: No provider available from registry stable.zk.scsite.net:21异常解决
-
No provider available from registry 192.168.126.129:2181 for service com.jt.service.DubboUserServic
-
集成Nacos1.2.1和Dubbo2.7.6 消费者报错No provider available for the service xxx