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

RedisClient in BATCH mode (for batchedPipeline) errors when sending commands to password-protected redis servers (initial AUTH command not sent) #293

Open
noahlz opened this issue Nov 3, 2021 · 1 comment

Comments

@noahlz
Copy link

noahlz commented Nov 3, 2021

See unit tests in PR #292

noahlz added a commit to noahlz/scala-redis that referenced this issue Nov 3, 2021
@noahlz noahlz changed the title batchedPipeline does not support password-protected redis servers. RedisClient in BATCH mode (for batchedPipeline) errors when sending commands to password-protected redis servers (initial AUTH command not sent) Nov 3, 2021
@noahlz
Copy link
Author

noahlz commented Nov 5, 2021

just checking if this is an issue with the AUTH command being used with pipelined commands, and seems like not the case.

https://redis.io/topics/pipelining

$ (printf "PING\r\nPING\r\nPING\r\n"; sleep 1) | nc localhost 6379
-NOAUTH Authentication required.
-NOAUTH Authentication required.
-NOAUTH Authentication required.
$ (printf "AUTH \"mayonaise\"\r\nPING\r\nPING\r\nPING\r\n"; sleep 1) | nc localhost 6379
+OK
+PONG
+PONG
+PONG

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