Skip to content

Password update fails with 401 error when Nacos is deployed with independent console/server #13959

@KomachiSion

Description

@KomachiSion

Describe the bug
When Nacos is deployed with independent console and server, updating password fails with the following error:

caused: errCode: 401,
errMsg: <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'>Mon Nov 24 16:59:37 CST 2025</div><div>There was an unexpected error(type=Unauthorized, status=401).</div><div>session expired!</div></body></html>;

However, the bug does not occur when using merged deployment (console and server together).

Expected behavior
Password should update successfully when console and server are deployed independently, the same as in merged deployment.

Actually behavior
401 Unauthorized error and session expired message when attempting password change with independent deployment.

How to Reproduce
Steps to reproduce the behavior:

  1. Deploy Nacos with console and server separately (independent deployment).
  2. Attempt to update the password via the console.
  3. Observe error message shown above.

Desktop (please complete the following information):

  • Version [nacos-server 3.1.0]
  • Module [e.g. auth plugin]

Additional context
Merged deployment works correctly; failure only occurs with independent deployment of console and server.

Metadata

Metadata

Assignees

Labels

area/pluginkind/bugCategory issues or prs related to bug.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions