seata连接nacos一直报错,
<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>
错误倒是很简单,就是 unknown user!
检查日志,日志路径
/root/logs/nacos/naming.log
果然发现端倪,由于我的密码中带 @ 符号,而seata传递的时候将这里给转义了变成了 %40, 测试了下,其他比如 !也会被转义,将密码中的特殊字符去掉,修改nacos密码,连接成功。