报错:caused: errCode: 500, errMsg: do metadata operation failed ;caused: com.alibaba.nacos.consistency.exception.ConsistencyException: com.alibaba.nacos.core.distributed.raft.exception.NoLeaderException: The Raft Group [naming_service_metadata] did not find the Leader node;caused: com.alibaba.nacos.core.distributed.raft.exception.NoLeaderException: The Raft Group [naming_service_metadata] did not find the Leader node;
1、重新下载nacos服务启动文件,重新将你的配置信息写入进去,请记住第一次写的ip和port,
之后不要换其他的ip和port,因为这样会导致你的服务注册不上去。
如果你想要换ip和端口号,同上。重新下载服务器,重新写入新的ip和port。

2、还有一种方法就是:删掉data文件和logs文件,重新修改配置信息。

在这里插入图片描述

GitHub 加速计划 / na / nacos
140
24
下载
Nacos是由阿里巴巴开源的服务治理中间件,集成了动态服务发现、配置管理和服务元数据管理功能,广泛应用于微服务架构中,简化服务治理过程。
最近提交(Master分支:5 个月前 )
2d78d1c7 * Upgrade to 2.5.0. * Bump ui dependencies by npm audix. * Fix unit test. * Ignore DumpAllProcessorTest Tmp. 3 天前
6da6cc93 Bumps org.apache.tomcat.embed:tomcat-embed-core from 9.0.96 to 9.0.98. --- updated-dependencies: - dependency-name: org.apache.tomcat.embed:tomcat-embed-core dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐