-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
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
WARN Invalid server identity value for xxx from xxx #5253
Comments
应该是集群配置的identity不一致导致的。 |
我用的官方的:https://github.com/nacos-group/nacos-docker/tree/1.4.1 和官网的k8s都试过,只要是我上面的参数,都是报一样的错,同时我进行容器内部查看,都是我配置好的xing,说明集群中的参数都是一致的,应该是官网的bug。服务器之前的认证当关掉UA白名单的时候,就卡住了,就会报这个错。 |
如果参数是:nacos.core.auth.enable.userAgentAuthWhite=true,服务器通讯一切正常,见日志: 如果参数是:nacos.core.auth.enable.userAgentAuthWhite=false ,就会报 如果不信,大家可以试试,官方的docker与k8s我都试过,是一样的效果。估计是上次的漏洞补了开关功能,但是忽略掉了服务器之前的认证的方式 vi env/nacos-hostname.env 进入nacos1的容器内,执行下面的就可以看到 根据日志分析: |
看了下 的确这里漏掉了。 |
com.alibaba.nacos.core.cluster.ServerMemberManager line 509。 |
@i will solve it@ |
非常感谢 |
Describe the bug
我安装nacos1.4.1集群后,并添加了如下参数:
After I installed the nacos1.4.1 cluster, I added the following parameters:
然后,在没有任务其他条件干扰的情况下,直接去看日志core-auth.log,发现一直在报:
Then, without interference from other conditions of the task, I went directly to the log core-auth.log and found that it has been reporting:
The text was updated successfully, but these errors were encountered: