Skip to content

NOAUTH Authentication required #47

@antoniosilva000000

Description

@antoniosilva000000

I seem to have installed and configured Redis correctly as specified, but whenever I try to use some redis command I get this error message: "NOAUTH Authentication required.".
I'm using --requirepass and even setting the 'password' property on the local connection in config redis I'm still "NOAUTH". What to do?

redis.ts

...
connection: Env.get('REDIS_CONNECTION'),
connections: {
   local: {
      host: Env.get('REDIS_HOST'),
      port: Env.get('REDIS_PORT'),
      password: Env.get('REDIS_PASSWORD', ''),
      db: 0,
      keyPrefix: 'cache:',
   },
}

.env

REDIS_CONNECTION=local
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=123

docker-compose.yml

services:
   redis:
       image: redis:latest
       restart: always
       command: redis-server --save 60 1 --loglevel warning --requirepass 123
       ports:
         - '6379:6379'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: AbandonedDropped and not into consideration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions