com.weibo.api.motan.exception.MotanFrameworkException: error_message: ClusterSupport No service urls for the refer:motan://192.168.1.73:0/sk-tools/com.csf.api.demo.GenMd5Code/1.0/referer, registries:[consul://192.168.0.198:8500/com.weibo.api.motan.registry.RegistryService?group=default_rpc], status: 404, error_code: 10101,r=

GitHub | yelllowhat | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    使用 consul cluster 时,consul 能发现服务 motan 发现不了 client 调用出现 404 / 10101 错误

    GitHub | 8 months ago | yelllowhat
    com.weibo.api.motan.exception.MotanFrameworkException: error_message: ClusterSupport No service urls for the refer:motan://192.168.1.73:0/sk-tools/com.csf.api.demo.GenMd5Code/1.0/referer, registries:[consul://192.168.0.198:8500/com.weibo.api.motan.registry.RegistryService?group=default_rpc], status: 404, error_code: 10101,r=
  2. 0

    demo中MotanApiClientDemo使用的协议不匹配?

    GitHub | 10 months ago | pixyonly
    com.weibo.api.motan.exception.MotanFrameworkException: error_message: ClusterSupport No service urls for the refer:motan://192.168.1.100:0/motan-demo-rpc/com.weibo.motan.demo.service.MotanDemoService/1.0/referer, registries:[local://127.0.0.1:0/com.weibo.api.motan.registry.RegistryService?group=default_rpc], status: 404, error_code: 10101,r=

    Root Cause Analysis

    1. com.weibo.api.motan.exception.MotanFrameworkException

      error_message: ClusterSupport No service urls for the refer:motan://192.168.1.73:0/sk-tools/com.csf.api.demo.GenMd5Code/1.0/referer, registries:[consul://192.168.0.198:8500/com.weibo.api.motan.registry.RegistryService?group=default_rpc], status: 404, error_code: 10101,r=

      at com.weibo.api.motan.cluster.support.ClusterSupport.init()
    2. com.weibo.api
      RefererConfig.getRef
      1. com.weibo.api.motan.cluster.support.ClusterSupport.init(ClusterSupport.java:102)
      2. com.weibo.api.motan.config.handler.SimpleConfigHandler.buildClusterSupport(SimpleConfigHandler.java:55)
      3. com.weibo.api.motan.config.RefererConfig.createClusterSupport(RefererConfig.java:184)
      4. com.weibo.api.motan.config.RefererConfig.initRef(RefererConfig.java:128)
      5. com.weibo.api.motan.config.RefererConfig.getRef(RefererConfig.java:85)
      5 frames
    3. com.csf.demo
      ApiClientMain.main
      1. com.csf.demo.ApiClientMain.main(ApiClientMain.java:66)
      1 frame