Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication no longer working after updating to Redis 6 #403

Closed
TheRealChrisS opened this issue May 8, 2020 · 8 comments
Closed

Authentication no longer working after updating to Redis 6 #403

TheRealChrisS opened this issue May 8, 2020 · 8 comments
Labels

Comments

@TheRealChrisS
Copy link

Hi,

we updated our Redis test server to Redis 6 yesterday. Since then the redis-commander is no longer able to authenticate (while our applications using it still can). We use the following command to run redis-commander:

docker run --rm --name redis-commander --env REDIS_HOSTS=RedisTest:our_redis_host:6379:1:some_password -p 8181:8081 rediscommander/redis-commander:latest

We now get this error:

Redis error ReplyError: WRONGPASS invalid username-password pair
    at parseError (/redis-commander/node_modules/redis-parser/lib/parser.js:179:12)
    at parseType (/redis-commander/node_modules/redis-parser/lib/parser.js:302:14)

The password stays the same and we did not start to use ACL, we just change from Redis version 5 to Redis version 6 in Dockerfile.

Are we doing something wrong or is redis-commander not yet ready for Redis 6?

Thanks,
Christian

@sseide
Copy link
Collaborator

sseide commented May 8, 2020

command line looks right.
but have not tested it against redis 6 by now, maybe something change here...

@sseide
Copy link
Collaborator

sseide commented May 8, 2020

maybe related to this: redis/ioredis#1097
something definitly changed in redis 6 but changelog of redis itself is not mentioning it. :-/

@sseide sseide added the bug label May 8, 2020
@sseide
Copy link
Collaborator

sseide commented May 14, 2020

just testet with latest redis from dockerhub (6.0.1) and started with requirepass foobared setting activated. Now authentication is required but login possible with redis commander as usual...

Can you please give the entire redis server config - at least the auth/acl/security related settings?
I cannot reproduce it locally with latest version.

@TheRealChrisS
Copy link
Author

I also pulled the latest Redis version (6.0.1) and now it's working again.

@3p3r
Copy link

3p3r commented May 31, 2020

without the requirepass option and using just ACLs, I don't think it's working. How do I supply my username?

@sseide
Copy link
Collaborator

sseide commented Jun 23, 2020

@3p3r using new Redis 6 acls with username/password is currently not supported.
Inside ioredis lib there where some incompatibilities with this but now it seems stable/usable.
Now Redis commander can be updated to allow setting a username too..

PR anyone?

@sseide
Copy link
Collaborator

sseide commented Jun 23, 2020

created #411 to track this

@sergeyampo
Copy link

Waiting for update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants