Tag Archives: Set

How to Solve Seata Nacos connection error: unknown user!

Seata connects to nacos and keeps reporting errors,

<html><body><h1>Whitelabel Error Page</h1><p>This application has no explicit mapping for /error, so you are seeing this as a fallback.</p>
<div id='created'> Fri Jul 23 14:28:47 GMT+08:00 2021</div><div>There was an unexpected error (type=Forbidden, status=403).</div>
<div>unknown user!</div>

The error is very simple, it is unknown user!

Check log, log path

/root/logs/nacos/naming.log
Sure enough, I found the clues, because my password has the @ symbol, and when seata passed it, it was escaped to %40. I tested it, and other examples! It will also be escaped, remove the special characters in the password, modify the nacos password, and the connection is successful.

Seata Starup Error: nettyServer init error:ErrCode:500, ErrMsg:failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:30099]) tried: ErrCode:503, ErrMsg:server is DOWN now, please try again later!

nettyServer init error:ErrCode:500, ErrMsg:failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:30099]) tried: ErrCode:503, ErrMsg:server is DOWN now, please try again later!

After analysis, it may be related to the network. After disabling VMware’s virtual network card, the registration was started successfully