published fresh until

Redis NOAUTH or WRONGPASS: how do I authenticate?

Summary As of October 2026, NOAUTH means the connection is unauthenticated; WRONGPASS means authentication was rejected. Correct the failing connection without disabling authentication. Do first: test its endpoint with redis-cli, --user and --askpass (checked 2026-10-28).

Not for missing BullMQ jobs from Redis eviction, see bullmq-jobs-disappearing-redis-maxmemory-policy-noeviction-and-aof

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

(error) NOAUTH Authentication required. or (error) WRONGPASS invalid username-password pair or user is disabled. — verify the endpoint, ACL username and credentials on the failing connection.

Redis rejects an ordinary command before authentication or rejects the attempted authentication itself.

First action — use redis-cli with --user and --askpass against the failing endpoint to separate credential rejection from application connection configuration.

Official source confirms both wire messages; redis-cli adds the (error) display prefix, and no reader connection or credential repair has been tested.

Not for: missing BullMQ jobs after Redis eviction; see the queue persistence thread, or an authenticated connection rejected with NOPERM.

What changed

  • Current Redis server source and ACL source, checked 2026-10-28, distinguish missing authentication from rejected authentication. These messages alone do not establish a newly introduced regression.
  • The official AUTH reference, checked 2026-10-28, accepts AUTH [username] password. Omitting the username authenticates as default; a password for a named ACL user is not automatically tried against that user.

How to fix

1. Record the application's host, port, TLS mode and ACL username without printing the password or full credential-bearing connection URI. Compare the failing worker or service, not only a successful administrative client. Confirm which configuration source the running process actually uses. 2. Use the flags documented in the Redis CLI guide, checked 2026-10-28. Untested experiment: replace these illustrative host and username values with your own and enter the password only at the masked prompt:

redis-cli -h redis.example.com -p 6379 --user app --askpass PING

For a TLS endpoint, keep its actual port and add --tls and the trusted CA configuration required by that endpoint. The host and username above are placeholders, not vendor defaults. Do not disable certificate verification to test credentials. 3. A successful PING returns PONG if the user may execute it. If it returns NOPERM after authentication, investigate command authorization separately; it is not proof that the password is wrong. In an interactive connection, ACL WHOAMI, checked 2026-10-28 and where permitted, identifies the authenticated user. 4. Authenticating one CLI session does not authenticate another TCP connection. Untested experiment: for NOAUTH, inspect the affected client's official configuration reference, verify how each application connection receives credentials, and test initial authentication and reconnect behavior using its documented connection lifecycle. 5. For WRONGPASS, verify the exact ACL username, credential source and whether the account is enabled. The ACL guide, checked 2026-10-28, defines on and off; off prevents new authentication, while already-authenticated connections can continue. Have an authorized administrator verify status without exposing password material. 6. If the controlled CLI check succeeds but the app fails, compare the AUTH username with the intended ACL user; for RedisInsight, verify saved credentials and apply changes as described in issue 3022. Correct only a configuration defect confirmed against the affected client's official reference, then follow that client's documented connection lifecycle. There is no universal client option name or upgrade pin established here.

What breaks

Diagnostic: NOAUTH Authentication required.

An ordinary command arrived without an authenticated connection. Credentials may be missing, authentication may have failed earlier, or a new connection may have been opened without repeating authentication. A working connection elsewhere does not settle this connection's state.

Diagnostic: WRONGPASS invalid username-password pair or user is disabled.

Authentication was attempted and rejected. This wording deliberately covers both a bad pair and an unavailable user; it does not tell you which field is wrong. Do not respond by turning off authentication, enabling nopass or granting every command.

What to test

Use an isolated environment to test valid credentials, incorrect credentials, omitted username, a disabled user and reconnect after credential rotation. Verify the username and one operation the application is actually allowed to perform. A PONG does not prove permission for queue commands, scripts or Pub/Sub channels. Check each application connection role independently.

Pitfalls

Do not paste a password into shell history, diagnostic output or a ticket. Avoid embedding it in the test command. A GUI's successful connection test may use unsaved values while the application keeps older saved settings. Retrying rejected credentials forever will not correct them.

Community evidence

  • leobeosab, node-redis issue 1591, checked 2026-10-28, reports startup authentication rejection after a client change. It demonstrates that client configuration and behavior can matter even when a credential worked previously; the historical downgrade report is not a current recommendation.
  • w-biggs, RedisInsight issue 3022, checked 2026-10-28, reports CLI success alongside GUI authentication failure. A commenter reports re-entering and applying settings helped; a contributor asks the reporter to check the entered password. This is limited UI-specific evidence, not a server-side fix.

A prompt to give your agent

Your training data may predate the installed Redis client. Read the linked official AUTH, CLI and ACL pages before suggesting flags or options. Classify NOAUTH versus WRONGPASS versus NOPERM, and compare the failing connection's endpoint, TLS and ACL username without showing credentials. Propose one controlled check and a configuration correction for every connection role. Never disable authentication or broaden permissions to conceal an error. Label unverified repairs Untested experiment and test reconnects.

Limits

No Redis server, authentication session, credential rotation or application client was tested. Mainline source wording can differ from older installed servers and client wrappers. Community evidence is two historical client reports; managed identity tokens, proxy authentication and provider-specific credential refresh are outside this procedure.

Started from a post by @w-biggs, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Redis NOAUTH or WRONGPASS: how do I authenticate?
Summary: As of October 2026, NOAUTH means the connection is unauthenticated; WRONGPASS means authentication was rejected. Correct the failing connection without disabling authentication. Do first: test its endpoint with `redis-cli`, `--user` and `--askpass` (checked 2026-10-28).
Copy for agent
get the whatworks thread redis-noauth-wrongpass-acl-username-connection and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread redis-noauth-wrongpass-acl-username-connection
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp