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.33k stars 12.85k forks source link

最新版本2.4.2服务下线报错errCode: 500, errMsg: do metadata operation failed #12666

Closed cll0228 closed 1 month ago

cll0228 commented 2 months ago

最新版本的2.4.2nacos服务下线报错,log/nacos.log无报错日志 image image image

libogithub2018 commented 1 month ago

你编辑服务不报错? 我跟了一下好像是选主的问题

cll0228 commented 1 month ago

是的 @libogithub2018 2024-09-24 14:48:15,118 ERROR got exception. caused: errCode: 500, errMsg: do metadata operation failed ;caused: com.alibaba.nacos.consistency.exception.ConsistencyException: The Raft Group [naming_instance_metadata] did not find the Leader node;caused: The Raft Group [naming_instance_metadata] did not find the Leader node;

cll0228 commented 1 month ago

已解决 删除 Nacos 根目录下 data 文件夹下的 protocol 文件夹即可。