开发者社区 > 云原生 > 正文

Ignore empty notify urls for subscribe url provide

jdk 1.8_202 nacos服务使用2.1.2 单机纯净版没改动

相关jar包 org.apache.dubbo.dubbo-spring-boot-starter:3.1.3 com.alibaba.nacos.nacos-client:2.1.2 org.springframework.boot.spring-boot-starter:2.7.6

application.yml spring: application: name: test dubbo: application: register-consumer: true qos-enable: false registry: address: nacos://127.0.0.1:8848 use-as-config-center: false register-mode: interface simplified: true config-center: default: false metadata-report: address: nacos://127.0.0.1:8848 consumer: check: false

主启动类标注了@EnableDubbo

@DubboService使用这个注解,被加载的类出现警告

2022-12-04 20:32:00.696 WARN 20608 --- [ main] o.a.dubbo.registry.nacos.NacosRegistry : [DUBBO] Ignore empty notify urls for subscribe url provider://192.168.1.10:20880/cn.windy.service.Test?anyhost=true&application=test&background=false&bind.ip=192.168.1.10&bind.port=20880&category=configurators&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=cn.windy.service.Test&ipv6=2409:8a44:74:a340:5164:513f:a809:2fd&methods=msg&pid=20608&qos.enable=false&register.consumer=true&release=3.1.3&side=provider&timestamp=1670157116436, dubbo version: 3.1.3, current host: 192.168.1.10, error code: 1-4. This may be caused by , go to https://dubbo.apache.org/faq/1/4 to find instructions.

2022-12-04 20:32:00.696 WARN 20608 --- [ main] o.a.dubbo.registry.nacos.NacosRegistry : [DUBBO] Ignore empty notify urls for subscribe url provider://192.168.1.10:20880/cn.windy.service.Test?anyhost=true&application=test&background=false&bind.ip=192.168.1.10&bind.port=20880&category=configurators&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=cn.windy.service.Test&ipv6=2409:8a44:74:a340:5164:513f:a809:2fd&methods=msg&pid=20608&qos.enable=false&register.consumer=true&release=3.1.3&side=provider&timestamp=1670157116436, dubbo version: 3.1.3, current host: 192.168.1.10, error code: 1-4. This may be caused by , go to https://dubbo.apache.org/faq/1/4 to find instructions.

2022-12-04 20:32:00.746 WARN 20608 --- [ main] o.a.dubbo.registry.nacos.NacosRegistry : [DUBBO] Ignore empty notify urls for subscribe url provider://192.168.1.10:20880/org.apache.dubbo.metadata.MetadataService?anyhost=true&application=test&background=false&bind.ip=192.168.1.10&bind.port=20880&category=configurators&check=false&connections=1&corethreads=2&delay=0&deprecated=false&dubbo=2.0.2&dynamic=true&executes=100&generic=false&getAndListenInstanceMetadata.1.callback=true&getAndListenInstanceMetadata.return=true&getAndListenInstanceMetadata.sent=true&group=test&interface=org.apache.dubbo.metadata.MetadataService&ipv6=2409:8a44:74:a340:5164:513f:a809:2fd&methods=exportInstanceMetadata,getAndListenInstanceMetadata,getExportedServiceURLs,getExportedURLs,getExportedURLs,getExportedURLs,getExportedURLs,getExportedURLs,getInstanceMetadataChangedListenerMap,getMetadataInfo,getMetadataInfos,getMetadataURL,getServiceDefinition,getServiceDefinition,getSubscribedURLs,isMetadataService,serviceName,toSortedStrings,toSortedStrings,version&pid=20608&qos.enable=false&register=false&register.consumer=true&release=3.1.3&revision=3.1.3&side=provider&threadpool=cached&threads=100&timestamp=1670157120726&version=1.0.0, dubbo version: 3.1.3, current host: 192.168.1.10, error code: 1-4. This may be caused by , go to https://dubbo.apache.org/faq/1/4 to find instructions.

2022-12-04 20:32:01.186 WARN 20608 --- [tion-0-thread-1] o.a.dubbo.registry.nacos.NacosRegistry : [DUBBO] Ignore empty notify urls for subscribe url provider://192.168.1.10:20880/cn.windy.service.Test?anyhost=true&application=test&background=false&bind.ip=192.168.1.10&bind.port=20880&category=configurators&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=cn.windy.service.Test&ipv6=2409:8a44:74:a340:5164:513f:a809:2fd&methods=msg&pid=20608&qos.enable=false&register.consumer=true&release=3.1.3&side=provider&timestamp=1670157116436, dubbo version: 3.1.3, current host: 192.168.1.10, error code: 1-4. This may be caused by , go to https://dubbo.apache.org/faq/1/4 to find instructions.

原提问者GitHub用户673885125

展开
收起
大圣东游 2023-05-11 15:54:14 469 0
1 条回答
写回答
取消 提交回答
  • cn.windy.service.Test 这个服务在 nacos 注册中心上没有 provider 了,请检查是否符合预期。

    如果调用正常的话可以忽略

    原回答者GitHub用户AlbumenJ

    2023-05-12 10:24:46
    赞同 展开评论 打赏
问答标签:
问答地址:

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载