-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Unable to connect to Redis with correct credentials #300
Comments
@isyouaint Thanks for the report! Could you tell us the format of the URL set in the |
As well, I tried connecting without using
|
@uki00a, I added a username parameter to private authenticate(password: string): Promise<RedisReply> {
return sendCommand(this.writer, this.reader, "AUTH", password);
} After: private authenticate(username: string, password: string): Promise<RedisReply> {
return sendCommand(this.writer, this.reader, "AUTH", username, password);
} |
@isyouaint I guess you are using Redis 6. The code in your Before block only works with Redis versions prior of 6. |
Any issue with me adding this functionality in a PR? |
@isyouaint A PR will be welcome! 👍 |
suggest you update not sure if this is being progressed, if not I am more than willing push these changes as a PR let me know, as I am using a modified local repo for production currently with redis cloud. also I am not sure where to add tests for this as there are connection tests in @uki00a @keroxp I can push a PR from my local branch anytime as its done and I am using in production. (ps. never done a PR request/push to opensource before, but my local version <branched as #300> is ready to be pushed as a PR, if I am added as a contributor.) |
@scott-ling
Sounds good!
I haven't worked on this yet, so you are welcome to submit a PR! 👍
I think it would be better to add tests to Please let me know on this issue or on Discord If you have any other questions or issues 🙂 |
@uki00a all good, I will add a couple tests for the new situations
Will let ya know when its ready to roll, I should be able to complete this tonight once other work is done (I am on GMT) Thanks for the quick turn-around, this was a breaking issue for me so assume its same for a few others. -Scott |
@scott-ling I haven’t yet started work on a PR, so I guess it’s yours 🤙🏾 |
cheers, I think :)
…On May 31 2022, at 8:34 pm, Asher Gomez ***@***.***> wrote:
@scott-ling (https://github.com/scott-ling) I haven’t yet started work on a PR, so I guess it’s yours 🤙🏾
—
Reply to this email directly, view it on GitHub (#300 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/ATXWUNVTNXN3JIAL4ALQK53VMZSUPANCNFSM5SXOR33Q).
You are receiving this because you were mentioned.
|
Sorry for delay, PR made. |
I'm attempting to use a newly created Redis user. However, I'm getting the following error:
I'm essentially connecting to the following client via the following:
When using my Redis default user, this code works fine. However, when using the new user, it doesn't. I know the
REDIS_URL
environmental variable is correct because I've used it to access Redis viaredis-cli -u <url>
.Please let me know if there's any more information you need and thank you in advance.
The text was updated successfully, but these errors were encountered: