apache / dubbo-admin

The ops and reference implementation for Apache Dubbo
https://dubbo.apache.org
Apache License 2.0
4k stars 2.17k forks source link

No provider available for service org.apache.dubbo.monitor.MonitorService #608

Open liangyuchun opened 4 years ago

liangyuchun commented 4 years ago

Environment

this issue

org.apache.dubbo.monitor.MonitorService 这个服务哪里有提供 Where is this service available

tapiohuang commented 3 years ago

我也出现这个错误,重启了dubbo-admin依然无用

Travel9527 commented 3 years ago

org.apache.dubbo.monitor.dubbo.DubboMonitor - [DUBBO] Unexpected error occur at send statistic, cause: No provider available from registry 127.0.0.1:2181 for service org.apache.dubbo.monitor.MonitorService on consumer 192.168.129.2 use dubbo version 2.7.8, please check status of providers(disabled, not registered or in blacklist)., dubbo version: 2.7.8, current host: 192.168.129.2 org.apache.dubbo.rpc.RpcException: No provider available from registry 127.0.0.1:2181 for service org.apache.dubbo.monitor.MonitorService on consumer 192.168.129.2 use dubbo version 2.7.8, please check status of providers(disabled, not registered or in blacklist).

同样的问题

提示为注册这个服务, 查看官网文档没找到任何配置 与这个服务相关的 配置

hassan5134 commented 3 years ago

+1 怎么解决呢???

hassan5134 commented 3 years ago

+1 怎么解决呢???

自行解决了

  1. XML 配置参考:https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-metrics

  2. dubbo-spring-boot-starter 配置参考:

dubbo:
  consumer:
    filter: metrics
    metrics:
      protocol: dubbo
      port: 20880

  provider:
    filter: metrics
    metrics:
      protocol: dubbo
      port: 20880

配置完,重启dubbo-admin 就可以了。