生产环境日志一直打印nacos错误

Blade 未结 1 536
med
med 剑圣 2023-04-07 11:30

一、该问题的重现步骤是什么?

1. 部署到生产环境就会打印此错误;版本是2.9.1;nacos版本2.0.0

2. 

3.


二、你期待的结果是什么?实际看到的又是什么?


三、你正在使用的是什么产品,什么版本?在什么操作系统上?


四、请提供详细的错误堆栈信息,这很重要。

2023-04-07 09:34:37.229 ERROR 17108 --- [s.client.Worker] c.a.nacos.client.security.SecurityProxy  : login failed: {"code":403,"message":"unknown user!","header":{"header":{"Accept-Charset":"UTF-8","Connection":"keep-alive","Content-Length":"13","Content-Type":"text/html;charset=UTF-8","Date":"Fri, 07 Apr 2023 01:34:37 GMT","Keep-Alive":"timeout=60"},"originalResponseHeader":{"Connection":["keep-alive"],"Content-Length":["13"],"Content-Type":["text/html;charset=UTF-8"],"Date":["Fri, 07 Apr 2023 01:34:37 GMT"],"Keep-Alive":["timeout=60"]},"charset":"UTF-8"}}

2023-04-07 09:34:40.295 ERROR 17108 --- [naming.security] c.a.nacos.client.security.SecurityProxy  : login failed: {"code":403,"message":"unknown user!","header":{"header":{"Accept-Charset":"UTF-8","Connection":"keep-alive","Content-Length":"13","Content-Type":"text/html;charset=UTF-8","Date":"Fri, 07 Apr 2023 01:34:39 GMT","Keep-Alive":"timeout=60"},"originalResponseHeader":{"Connection":["keep-alive"],"Content-Length":["13"],"Content-Type":["text/html;charset=UTF-8"],"Date":["Fri, 07 Apr 2023 01:34:39 GMT"],"Keep-Alive":["timeout=60"]},"charset":"UTF-8"}}

2023-04-07 09:34:42.378 ERROR 17108 --- [s.client.Worker] c.a.nacos.client.security.SecurityProxy  : login failed: {"code":403,"message":"unknown user!","header":{"header":{"Accept-Charset":"UTF-8","Connection":"keep-alive","Content-Length":"13","Content-Type":"text/html;charset=UTF-8","Date":"Fri, 07 Apr 2023 01:34:42 GMT","Keep-Alive":"timeout=60"},"originalResponseHeader":{"Connection":["keep-alive"],"Content-Length":["13"],"Content-Type":["text/html;charset=UTF-8"],"Date":["Fri, 07 Apr 2023 01:34:42 GMT"],"Keep-Alive":["timeout=60"]},"charset":"UTF-8"}}

五、若有更多详细信息,请在下面提供。

1条回答
  • 2023-04-07 14:28

    如果修改了nacos默认密码,则配置文件也要一起修改

    image.png

    0 讨论(0)
提交回复