NOAUTH: NOAUTH Authentication required
RedisO que significa?
O Redis exige autenticação, mas o cliente tentou executar um comando antes de se autenticar. Ele precisa fazer login com AUTH primeiro.
Por que acontece?
Uma senha requirepass/ACL está definida no servidor, o cliente não envia o comando AUTH, a senha não está na connection string, ou o AUTH não é repetido após a conexão ser restabelecida.
Como resolver
Autentique-se antes de executar comandos: AUTH password (com ACLs, AUTH app_user password). Adicione a senha ao cliente/à connection string. Se você usa um pool de conexões, certifique-se de que o AUTH é executado em toda nova conexão. Armazene a senha com segurança (variável de ambiente/secrets manager).
Mais entradas deste banco
- WRONGTYPEWRONGTYPE Operation against a key holding the wrong kind of value
- OOMOOM command not allowed when used memory > 'maxmemory'
- WRONGPASSWRONGPASS invalid username-password pair or user is disabled
- READONLYREADONLY You can't write against a read only replica
- MASTERDOWNMASTERDOWN Link with MASTER is down and replica-serve-stale-data is set to 'no'
- CLUSTERDOWNCLUSTERDOWN The cluster is down / Hash slot not served