Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

NickCraver
Copy link
Collaborator

Fixes #1879. In the case where a password is wrong, now indicates "WRONGPASS invalid username-password pair or user is disabled" rather than "NOAUTH Returned - connection has not authenticated" to help users diagnose their problem a bit easier.

In the case where a password is wrong, now indicates "WRONGPASS invalid username-password pair or user is disabled" rather than "NOAUTH Returned - connection has not authenticated" to help users diagnose their problem a bit easier.
Copy link
Collaborator

@slorello89 slorello89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 - FWIW the change in message seems to have come in 6.0 with the dawn of ACLs

@NickCraver
Copy link
Collaborator Author

@slorello89 oh yay, guessed right! Thanks for confirming that, really was wondering there <3

if (result.StartsWith(CommonReplies.NOAUTH)) bridge?.Multiplexer?.SetAuthSuspect(new RedisServerException("NOAUTH Returned - connection has not authenticated"));
if (result.StartsWith(CommonReplies.NOAUTH))
{
bridge?.Multiplexer?.SetAuthSuspect(new RedisServerException("NOAUTH Returned - connection has not authenticated"));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"has not BEEN authenticated"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "not yet authenticated"? I worry about confusion with "we can't verify the validity of what you connected to" on phrasing - thoughts?

@NickCraver NickCraver merged commit 5ceb775 into main Sep 6, 2022
@NickCraver NickCraver deleted the craver/auth-exceptions branch September 6, 2022 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to connect to Redis due to authentication - ConnectionFailureType
4 participants