vibe.d icon indicating copy to clipboard operation
vibe.d copied to clipboard

No auth in RedisSessionStore

Open vajrabisj opened this issue 2 years ago • 0 comments

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.

vajrabisj avatar May 22 '22 13:05 vajrabisj