We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题:通过spring提供的端点/actuator/service-registry 进行注销服务注册时,发生 ErrCode:500, ErrMsg:ErrCode:400, ErrMsg:instance not exist: 192.168.2.14:9091:unknown:DEFAULT_1.0_true_false_DEFAULT。
排查过程。
通过查看源码 com.alibaba.cloud.nacos.registry.NacosServiceRegistry.setStatus(Registration registration, String status)方法。调用了 com.alibaba.nacos.client.naming.NacosNamingMaintainService.updateInstance(String serviceName, Instance instance),发现里面为硬编码this.updateInstance(serviceName, "DEFAULT_GROUP", instance); 在服务注册时指定group时会发生此问题。
bug版本:Spring cloud alibaba 2.2.1~ 2.2.3
The text was updated successfully, but these errors were encountered:
contribute are welcome, refer NacosServiceRegistry
Sorry, something went wrong.
I want to solve it. please assgin to me.
brotherlu-xcq
Successfully merging a pull request may close this issue.
问题:通过spring提供的端点/actuator/service-registry 进行注销服务注册时,发生 ErrCode:500, ErrMsg:ErrCode:400, ErrMsg:instance not exist: 192.168.2.14:9091:unknown:DEFAULT_1.0_true_false_DEFAULT。
排查过程。
通过查看源码
com.alibaba.cloud.nacos.registry.NacosServiceRegistry.setStatus(Registration registration, String status)方法。调用了
com.alibaba.nacos.client.naming.NacosNamingMaintainService.updateInstance(String serviceName, Instance instance),发现里面为硬编码this.updateInstance(serviceName, "DEFAULT_GROUP", instance);
在服务注册时指定group时会发生此问题。
bug版本:Spring cloud alibaba 2.2.1~ 2.2.3
The text was updated successfully, but these errors were encountered: