v4.17.0 breaking change for Redis parser
See original GitHub issueRelease v4.17.0 fails to parse username:password combinations for redis version 5 and lower. The Rediss / Redis URL connection strings are no longer valid.
[ERROR] The server returned "wrong number of arguments for 'auth' command". You are probably passing both username and password to Redis version 5 or below. You should only pass the 'password' option for Redis version 5 and under.
[ioredis] Unhandled error event: ReplyError: NOAUTH Authentication required.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Redis 4.0.1 - GitHub
In general this change should not break compatibility with the past since in the past two different forms were provided by the server...
Read more >Redis - npm
A modern, high performance Redis client. Latest version: 4.5.1, last published: a month ago. Start using redis in your project by running ...
Read more >Where is node-redis v4 documentation/migration guide?
node-redis refactored its API in v4 to support Promises. For some reason, they also decided to change the signature of most commands, ...
Read more >Session handling in Express Using Redis | Code for geek
4 : Retrieve information regarding particular key. Run this command on terminal. GET. Once you have installed Redis, by running the first command...
Read more >ioredis | Yarn - Package Manager
BREAKING CHANGES · slotsRefreshInterval is disabled by default, previously, the default value was 5000. · Redis#serverInfo is removed. · Support for third-party ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Kikobeats I can’t reproduce this issue locally with the following code:
Could you log
redis.options
and post the result here?username
property should benull
.@luin it isn’t a thing related with the username: I’m experimenting the same behavior and essentially any URI string like
doesn’t work using at
v4.17.0
, but works as expected atv4.16.x