• [DUBBO] Unexpected error occur at send statistic, cause: Forbid consumer 192.168.3.151 access servic


    [DUBBO] Unexpected error occur at send statistic, cause: Forbid consumer 192.168.3.151 access service com.alibaba.dubbo.monitor.MonitorService from registry zkserver:2181 use dubbo version 2.5.3, Please check registry access list (whitelist/blacklist)., dubbo version: 2.5.3, current host: 192.168.3.151
    com.alibaba.dubbo.rpc.RpcException: Forbid consumer 192.168.3.151 access service com.alibaba.dubbo.monitor.MonitorService from registry zkserver:2181 use dubbo version 2.5.3, Please check registry access list (whitelist/blacklist).
    at com.alibaba.dubbo.registry.integration.RegistryDirectory.doList(RegistryDirectory.java:579)
    at com.alibaba.dubbo.rpc.cluster.directory.AbstractDirectory.list(AbstractDirectory.java:73)
    at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.list(AbstractClusterInvoker.java:260)
    at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:219)
    at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:72)
    at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
    at com.alibaba.dubbo.common.bytecode.proxy0.collect(proxy0.java)
    at com.alibaba.dubbo.monitor.dubbo.DubboMonitor.send(DubboMonitor.java:113)
    at com.alibaba.dubbo.monitor.dubbo.DubboMonitor$1.run(DubboMonitor.java:70)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745)

    dubbo报了一个错误,原因是在服务提供者配置中打开了监控中心,但是项目并没有开启监控服务。

    <!--暂时关闭掉监控中心,如需要得先开启监控中心服务-->
    <!--<dubbo:monitor protocol="registry"/>-->

    注销掉以上代码就可以了

  • 相关阅读:
    gitlab pipeline optimize 效率优化
    gitlab pipeline 构建容器镜像方法
    软件学习目录索引
    面试题收集
    【docker】4种网络模式
    GeoIP库商业版调研支持IPV6
    MySQL在线开启GTID模式
    Linux IO分析
    一个宝藏级微服务开源项目,是真的牛批!
    powerdesigner 如何设置name和code不自动同步
  • 原文地址:https://www.cnblogs.com/zhaoyan001/p/7588381.html
Copyright © 2020-2023  润新知