alibaba / nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
https://nacos.io
Apache License 2.0
30.21k stars 12.83k forks source link

Nacos 服务列表健康状态会变为 0 导致警告 #2432

Closed maxiaodong58 closed 3 years ago

maxiaodong58 commented 4 years ago

dubbo : 2.7.3 spring boot : 2.2.2.RELEASE 服务注册到 nacos 中 健康状态为 1,如图所示: image

过几秒中后,就会变为 0,如图所示: image

这时候控制台,就会有警告信息打印: 2020-03-08 22:36:18.371 WARN 42928 --- [client.listener] o.a.dubbo.registry.nacos.NacosRegistry : [DUBBO] Ignore empty notify urls for subscribe url provider://192.168.3.4:20880/com.xiaodong.user.api.UserService?anyhost=true&application=user-provider&bean.name=ServiceBean:com.xiaodong.user.api.UserService:1.0.0&bind.ip=192.168.3.4&bind.port=20880&category=configurators&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.xiaodong.user.api.UserService&methods=selectByName&pid=42928&qos.enable=false&register=true&release=2.7.3&revision=1.0.0&side=provider&timestamp=1583661716900&version=1.0.0, dubbo version: 2.7.3, current host: 192.168.3.4 2020-03-08 22:36:24.073 WARN 42928 --- [client.listener] o.a.dubbo.registry.nacos.NacosRegistry : [DUBBO] Ignore empty notify urls for subscribe url provider://192.168.3.4:20880/com.xiaodong.user.api.UserService?anyhost=true&application=user-provider&bean.name=ServiceBean:com.xiaodong.user.api.UserService:1.0.0&bind.ip=192.168.3.4&bind.port=20880&category=configurators&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.xiaodong.user.api.UserService&methods=selectByName&pid=42928&qos.enable=false&register=true&release=2.7.3&revision=1.0.0&side=provider&timestamp=1583661716900&version=1.0.0, dubbo version: 2.7.3, current host: 192.168.3.4

zhengjianfeng1103 commented 4 years ago

我也一样,我是用的nacos-service1.2.0 部署在docker容器中, 一直变换, 看日志显示不断的通知dubbo的消费者和生产者, 发生变化

yhuihu commented 4 years ago

同,升级了1.2.0才出现的问题

yao012 commented 4 years ago

一样的,现在有解决方案么,版本是1.2.0

johnniehs commented 4 years ago

一样的问题,目前有否解决方案?

maxiaodong58 commented 4 years ago

一样的问题,目前有否解决方案?

换 Dubbo Spring Cloud

zhegexiaohuozi commented 4 years ago

+1

leehow1988 commented 4 years ago

一样的问题,目前有否解决方案?

换 Dubbo Spring Cloud

你好,是解决了嘛?麻烦更详细点介绍下

magese commented 4 years ago

同样的问题,消费方会不停的掉线

luozhangwen commented 4 years ago

同样的问题,消费方会不停的掉线

请问这个问题解决了吗? 同样遇到这个问题

stale[bot] commented 3 years ago

Thanks for your feedback and contribution. But the issue/pull request has not had recent activity more than 180 days. This issue/pull request will be closed if no further activity occurs 7 days later. We may solve this issue in new version. So can you upgrade to newest version and retry? If there are still issues or want to contribute again. Please create new issue or pull request again.