You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/11/09 02:23:43 UTC

[GitHub] [dubbo] JavaLionLi opened a new issue, #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

JavaLionLi opened a new issue, #10899:
URL: https://github.com/apache/dubbo/issues/10899

   <!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.0.X 3.1.X
   * Operating System version: xxx
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   
   1. 参考另一篇文章 把check=false和dynamic=true设置了 还是不行
   2. 启动AB两个之后 关闭B 重启A会去检查B 导致报错
   3. xxx
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Behavior
   
   <!-- What do you expect from the above steps?-->
   
   ### Actual Behavior
   
   <!-- What actually happens? -->
   
   If there is an exception, please attach the exception trace:
   
   ```
   Just put your stack trace here!
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308281191

   > 这个报错是注册中心推送地址后地址不可达的报错(有可用地址,但是地址连接失败)。
   > 
   > 这里的 `check` 的作用是避免注册中心直接剔除这个地址(如果注册中心链路上有报错会直接剔除),日志中的报错在生产定位原因的时候是必要的。即使是没有通过地址剔除这种严格的处理也不应该任何日志不留存,否则在调用出现不通或者报错的时候会给分析带来难度(是注册中心问题还是网络问题还是使用方式问题等等)。
   > 
   > 从规范上来说,注册中心是不应该推送不可达地址的,根本应该解决的问题是应该保证下游服务都启动完毕。
   
   异常下线是应该留日志 但是正常下线也还是会报这个 这这不是个bug


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308156254

   设置了不检查 还疯狂连接报错 这设置意义何在呢
   ![image](https://user-images.githubusercontent.com/31852897/200730987-cdea54a1-c2db-4746-869d-1bb51036398d.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1310208040

   > > 可以给一个复现方式嘛
   > 
   > https://gitee.com/JavaLionLi/RuoYi-Cloud-Plus/tree/dev/ 这个项目dev分支 开发中经常重启system生产者和auth消费者 就会报这个错误 很容易复现
   
   按照示例文档没办法把项目启起来……


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308148631

   感觉这块设计的非常有问题


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308294990

   元数据是不随着服务上线生命周期清理的,这个不影响订阅。
   可以试下在有两台机器的时候下线一台吗,或者是注册中心 url 配置加上 `enable-empty-protection=false` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi closed issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi closed issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)
URL: https://github.com/apache/dubbo/issues/10899


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308139134

   ![image](https://user-images.githubusercontent.com/31852897/200727957-94b31985-9bc0-4f04-bd67-dc1d0e154e35.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308282878

   > 生产者停机之后 为啥消费者启动还是能收到这个
   
   剩余多少机器,是最后一台还是还有剩余机器。这台下线的机器注册中心中是否已经摘除。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308145073

   看了一下源码 如果等于check等于false直接就会报警告
   ![image](https://user-images.githubusercontent.com/31852897/200728562-89b2d17c-b579-4d31-8fc2-abf82a9a8e9e.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308381750

   > > 只要有一台生产者还活着 就不会报这个错误
   > 
   > 那就是推空保护导致的在无 provider 的时候会留下最后一台 provider 去尝试连接。
   > 
   > > 加了这个参数也一样 还是报错
   > 
   > 参数是这样配置的 `nacos://127.0.0.1:8848?enable-empty-protection=false`?
   
   ![image](https://user-images.githubusercontent.com/31852897/200777022-d1c0bfd9-8b70-4fed-99d1-e565343b7f4d.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308450279

   可以给一个复现方式嘛


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] chickenlj commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1311164091

   > 
   
   这个是一个默认行为问题。为了高可用设计考虑,消费端开启了`推空地址包括(当注册中心推送过来空地址列表的时候,忽略这条通知,因为在生产环境中不允许出现)`。也就是要么包 ‘无地址’、要么报 ‘地址连接不上’


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308279685

   > 这个报错是注册中心推送地址后地址不可达的报错(有可用地址,但是地址连接失败)。
   > 
   > 这里的 `check` 的作用是避免注册中心直接剔除这个地址(如果注册中心链路上有报错会直接剔除),日志中的报错在生产定位原因的时候是必要的。即使是没有通过地址剔除这种严格的处理也不应该任何日志不留存,否则在调用出现不通或者报错的时候会给分析带来难度(是注册中心问题还是网络问题还是使用方式问题等等)。
   > 
   > 从规范上来说,注册中心是不应该推送不可达地址的,根本应该解决的问题是应该保证下游服务都启动完毕。
   
   那就涉及到另一个bug了 生产者停机之后 为啥消费者启动还是能收到这个


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308183708

   ![image](https://user-images.githubusercontent.com/31852897/200736130-021697a4-8d11-44d4-841d-f132e35f8e53.png)
   通过修改 AbstractClient 源码 check=false 直接停止后续连接操作 所有报错都解决了 功能也都正常


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308460216

   > 可以给一个复现方式嘛
   
   https://gitee.com/JavaLionLi/RuoYi-Cloud-Plus/tree/dev/ 这个项目dev分支 开发中经常重启system生产者和auth消费者 就会报这个错误 很容易复现
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308145635

   但是下面的异常栈输出又是哪来的呢


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308165841

   首先 创建NettyClient连接报error 然后因为设置了 check=false 再报一条warn 哭笑不得


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308272887

   这个报错是注册中心推送地址后地址不可达的报错(有可用地址,但是地址连接失败)。
   
   这里的 `check` 的作用是避免注册中心直接剔除这个地址(如果注册中心链路上有报错会直接剔除),日志中的报错在生产定位原因的时候是必要的。即使是没有通过地址剔除这种严格的处理也不应该任何日志不留存,否则在调用出现不通或者报错的时候会给分析带来难度(是注册中心问题还是网络问题还是使用方式问题等等)。
   
   从规范上来说,注册中心是不应该推送不可达地址的,根本应该解决的问题是应该保证下游服务都启动完毕。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308372797

   > > 只要有一台生产者还活着 就不会报这个错误
   > 
   > 那就是推空保护导致的在无 provider 的时候会留下最后一台 provider 去尝试连接。
   > 
   > > 加了这个参数也一样 还是报错
   > 
   > 参数是这样配置的 `nacos://127.0.0.1:8848?enable-empty-protection=false`?
   
   是的 一模一样 没什么效果


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308284238

   > > 生产者停机之后 为啥消费者启动还是能收到这个
   > 
   > 剩余多少机器,是最后一台还是还有剩余机器。这台下线的机器注册中心中是否已经摘除。
   
   基本都是开发的时候报这个错误 生产者重启 就一台 nacos该服务已经下线 但是元数据还有并没有删除


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308342905

   > 元数据是不随着服务上线生命周期清理的,这个不影响订阅。 可以试下在有两台机器的时候下线一台吗,或者是注册中心 url 配置加上 `enable-empty-protection=false`
   
   下线其中一台并没有影响 先启动生产者B 然后停止B 启动消费者A 就会报这个错误了 启动过程中报错 加了这个参数也一样 还是报错
   ![image](https://user-images.githubusercontent.com/31852897/200767586-6f939b5b-c0fb-4c29-bcdf-d435d7f7c131.png)
   
   只要有一台生产者还活着 就不会报这个错误
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308370345

   > 只要有一台生产者还活着 就不会报这个错误
   
   那就是推空保护导致的在无 provider 的时候会留下最后一台 provider 去尝试连接。
   
   > 加了这个参数也一样 还是报错
   
   参数是这样配置的 `nacos://127.0.0.1:8848?enable-empty-protection=false`?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308410875

   `enable-empty-protection=false` 配置到下面的 parameters 里面
   
   ```yaml
   registry:
     address: nacos://xxx
     group: DUBBO_GROUP
     parameters:
       namespace: xxx
       enable-empty-protection: false
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] JavaLionLi commented on issue #10899: dubbo 启动警告 warn [DUBBO] Failed to start NettyClient 'xxx'connect to the server 'yyy' (check == false, ignore and retry later!)

Posted by GitBox <gi...@apache.org>.
JavaLionLi commented on issue #10899:
URL: https://github.com/apache/dubbo/issues/10899#issuecomment-1308442304

   > `enable-empty-protection=false` 配置到下面的 parameters 里面
   > 
   > ```yaml
   > registry:
   >   address: nacos://xxx
   >   group: DUBBO_GROUP
   >   parameters:
   >     namespace: xxx
   >     enable-empty-protection: false
   > ```
   
   ![image](https://user-images.githubusercontent.com/31852897/200788620-5486ac43-0090-493f-a7af-0b2c93a8fc69.png)
   ![image](https://user-images.githubusercontent.com/31852897/200788661-d4f6da9d-9f37-4864-a11b-73cb0b585df8.png)
   还是一样 测了好半天 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org