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

No auth in RedisSessionStore #2660

Open
vajrabisj opened this issue May 22, 2022 · 0 comments
Open

No auth in RedisSessionStore #2660

vajrabisj opened this issue May 22, 2022 · 0 comments

Comments

@vajrabisj
Copy link

I have the Redis URL as redis://:password@host, I can use auto rc = new RedisClient(host, port) and then use rc.auth(password) and then rc.getDatabase(0), it is successful. But when using settings.sessionstore = new RedisSessionstore(host,0,port), I never succeeded whenever using which kind of host (with or without redis://: etc). sometime the error msg is Fail to connect to server. sometime error is "auth needed".

but when I look into the sessionstore.d, seems there is no way to explicitly to use auth. so help needed to solve this no auth issue by using RedisSessionstore.

thanks in advance.

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

No branches or pull requests

1 participant