Skip to content
This repository was archived by the owner on Jul 26, 2023. It is now read-only.
Discussion options

You must be logged in to vote

https://docs.upstash.com/redis/troubleshooting/no_auth

提示的报错不是很清楚么?没填密码或密码不对

NOAUTH Authentication Required
Symptom
The client can not connect to the database throwing an exception similar to:

[ioredis] Unhandled error event: 
ReplyError: NOAUTH Authentication required
Diagnosis
The server does not let you connect because the password is missing in your connection parameters.

Solution
Check your connection parameters and ensure they contain the password. If you are using ioredis (Redis client) with a Redis URL, check the URL format. ioredis requires a colon before the password. 

The format for IORedis - TLS enabled
rediss://:YOUR_PASSWORD@YOUR_ENDPOINT:YOUR_PORT

The format for IORedi…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by spencerwooo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question General questions solved Question in discussion is solved
3 participants
Converted from issue

This discussion was converted from issue #607 on April 18, 2022 06:37.