nacos不能将服务注册进去
nacos
Nacos是由阿里巴巴开源的服务治理中间件,集成了动态服务发现、配置管理和服务元数据管理功能,广泛应用于微服务架构中,简化服务治理过程。
项目地址:https://gitcode.com/gh_mirrors/na/nacos
免费下载资源
·
报错: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 天前
更多推荐
已为社区贡献1条内容
所有评论(0)