1. 程式人生 > >dubbo報錯解決

dubbo報錯解決

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去掉。問題解決。