ERR Client sent AUTH, but no password is set: ERR AUTH <password> called without any password configured for the default user (Redis 6+) / ERR Client sent AUTH, but no password is set (Redis <6) (비밀번호가 설정되지 않은 상태에서 AUTH 호출)
Redis의미
클라이언트가 AUTH로 인증을 시도했으나 서버에 비밀번호(requirepass) 또는 ACL 비밀번호가 정의되어 있지 않다. 검증할 자격 증명이 없어 AUTH가 거부되었다. 이 경우 Redis 6+는 "ERR AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct?"를 반환하며, "Client sent AUTH, but no password is set"은 Redis 6 이전의 메시지이다.
원인
서버의 requirepass가 비어 있음, 클라이언트가 불필요하게 AUTH 전송, 서버에 비밀번호가 없는데 연결 문자열에 비밀번호 정의, 또는 구성 불일치.
해결 방법
서버가 비밀번호를 요구하지 않는다면 클라이언트에서 AUTH 명령/비밀번호 설정을 제거한다. 비밀번호 보호가 필요하면 서버에 requirepass를 설정하거나(CONFIG SET requirepass password) ACL 사용자에 비밀번호를 정의한다. 클라이언트와 서버 구성을 일치시킨다.
같은 데이터베이스의 다른 항목
- NOREPLICASNOREPLICAS Not enough good replicas to write (쓰기에 필요한 정상 replica 부족)
- ERR This instance has cluster support disabledERR This instance has cluster support disabled (이 인스턴스는 클러스터 지원이 비활성화됨)
- ERR unknown subcommandERR unknown subcommand or wrong number of arguments (알 수 없는 하위 명령 또는 잘못된 인수 개수)
- ERR DEBUG command not allowedDEBUG command not allowed
- ERR Can't save in background: fork failedBackground save failed: fork failed
- NOPROTO unsupported protocol versionUnsupported RESP protocol version
- ERR Unknown option or number of arguments for CONFIG SETUnknown option or number of arguments for CONFIG SET (older versions: Unsupported CONFIG parameter) (CONFIG SET의 알 수 없는 옵션 또는 인수 개수 오류)