WRONGPASS invalid username-password pair
See original GitHub issueIssue
Hi, I wish I had more time to fill this out but I’m making this for others who are having this issue. Our Node applications started crashing on startup when we updated (without realizing) to 3.1.0. Thankfully this only happened on our stage servers so no harm was done! But hopefully, others find this helpful!
The error is as follows
ReplyError: WRONGPASS invalid username-password pair
at parseError (redacted.../node_modules/redis/node_modules/redis-parser/lib/parser.js:179:12)
at parseType (redacted.../node_modules/redis/node_modules/redis-parser/lib/parser.js:302:14) {
command: 'AUTH',
args: [ 'redacted', 'redacted' ],
code: 'WRONGPASS'
}
The username-password pair is correct and works before 3.1.0 to fix this for now we downgraded to 3.0.2
Environment
- Node.js Version: 14.15.4
- Redis Version: Unkown (I can add once I find out)
- Platform: MacOS 11.0.1, Heroku Node, Arch Linux
Issue Analytics
- State:
- Created 2 years ago
- Comments:30 (1 by maintainers)
Top Results From Across the Web
WRONGPASS invalid username-password pair #1591 - GitHub
When a username is present, even if named default , the auth command is sent as auth 'default', 'password' and redis 3.0.6 rejects...
Read more >WRONGPASS invalid username-password pair or user is ...
I am sure the user name and password correct because I could login redis using the redis-cli command. where is the problem and...
Read more >Redis password error from one server but not from another
based on the permissions of the user. This may be why this error is being displayed: (error) WRONGPASS invalid username-password pair.
Read more >Redis Connections Tutorial - KoderHQ
(error) WRONGPASS invalid username-password pair. And if we don't enter a password at all, Redis will raise a NOAUTH error. Output:.
Read more >I don't know why and how to solve this - Troubleshooting
[ioredis] Unhandled error event: ReplyError: WRONGPASS invalid username-password pair or user is disabled at parseError.
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 Free
Top 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
@darklight147 try to change the “username” to “default”
Heroku deployments are broken at
3.1.0, initializing the client using:where
REDIS_URLis set automatically by Heroku using the formatredis://h:<password>@<host>:<port>The error is:
This renders the latest version unusable on Heroku, everything is working fine at
3.0.2though.