-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
网络异常时,BeatReactor 心跳线程会中断,导致dubbo网络恢复后服务注册信息无法自动重新注册 #5291
Comments
您使用的nacos版本号,以及dubbo的版本号是? |
nacos 1.4.1 ,dubbo 2.7.8 |
能麻烦提供下,是哪一行,抛出了异常? |
你跑个demo,然后吧而网线拔了,就能复现 |
@bestpayAmes |
at com.alibaba.nacos.common.utils.IPUtil.splitIPPortStr(IPUtil.java:152) ~[nacos-common-1.4.1.jar:?] |
我用的是域名 |
问题描述里写了dns的 |
@bestpayAmes 好的,谢谢! |
Fixed by #4802 . but we also can enhance it by catch Exception in BeatTask like
|
The exception of BeatReactor ‘s BeatTask catched is wrong,when the dns can't work,the beat will suspend;
when unkownHost ,the nacos heat thread will interrupt;dubbo 's register info will be no recovery ;
dns不能工作时,com.alibaba.nacos.client.naming.beat.BeatReactor.BeatTask#run里会抛出非NacosException的异常,导致心跳任务停止,dns恢复后dubbo注册的服务不能恢复;
The text was updated successfully, but these errors were encountered: