Closed tenduts closed 3 years ago
但是报错显示的是你集群创建有问题也。
请求出现了非责任节点的转发。receive invalid redirect request from peer 172.16.77.18
要不然就是有的节点升级到了2.X模式有的还是1.X模式,要不然就是节点列表数量不一致导致责任节点计算结果不一致。但是不论哪种都是集群创建有问题。
确实如你所说,是nacos集群配错了
确实如你所说,是nacos集群配错了
想请教下是哪里配错了呢?我参考检察下我们的
https://github.com/alibaba/nacos/issues/6149#issuecomment-868161726 是什么配置引起的?我们也想参考一下。
When I used spring cloud Alibaba to link to Nacos 2.0.2, the following problems occurred. However, when I used Nacos 2.0.1 on other servers to connect to MySQL database under Nacos 2.0.2, I used spring cloud Alibaba to connect to Nacos 2.0.1 again, and the problem disappeared.
This shows that it's a nacos2.0.2 bug
当我使用springCloud Alibaba 链接nacos 2.0.2的时候产生了如下问题,但是我用位于其他的服务器的nacos 2.0.1来连接nacos2.0.2下的mysql数据库的,再次使用springCloud Alibaba来连接nacos2.0.1,问题消失了。
这说明是nacos2.0.2的bug nacos_error.txt
2021-06-23 17:27:32.895 ERROR 71857 --- [ main] com.alibaba.nacos.client.naming LN:617 [NA] failed to request
com.alibaba.nacos.api.exception.NacosException:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
2021-06-23 17:27:33.035 ERROR 71857 --- [ main] com.alibaba.nacos.client.naming LN:552 request: /nacos/v1/ns/instance failed, servers: [172.16.77.18:8001], code: 500, msg:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Caused by: com.alibaba.nacos.api.exception.NacosException: failed to req API:/nacos/v1/ns/instance after all servers([172.16.77.18:8001]) tried: ErrCode:400, ErrMsg:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.