dubbo报错解决

来源:互联网 发布:linux 多线程 connect 编辑:程序博客网 时间:2024/06/06 02:41

2017-12-13 11:06:42,511 [DubboMonitorSendTimer-thread-1] ERROR [com.alibaba.dubbo.monitor.dubbo.DubboMonitor] - [DUBBO] Unexpected error occur at send statistic, cause: Failed to invoke the method collect in the service com.alibaba.dubbo.monitor.MonitorService. No provider available for the service com.alibaba.dubbo.monitor.MonitorService from registry zkserver:2181 on the consumer 192.168.0.188 using the dubbo version 2.5.3. Please check if the providers have been started and registered., dubbo version: 2.5.3, current host: 192.168.0.188
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method collect in the service com.alibaba.dubbo.monitor.MonitorService. No provider available for the service com.alibaba.dubbo.monitor.MonitorService from registry zkserver:2181 on the consumer 192.168.0.188 using the dubbo version 2.5.3. Please check if the providers have been started and registered.
这是因为没有启动监控中心,却配了监控地址,把监控中心启动,或者把xml配置中的或properties配置中的dubbo.monitor.protocol=registry去掉。问题解决。

原创粉丝点击