org.springframework.data.redis.RedisSystemException: Redis exception; nested exception is com.lambdaworks.redis.RedisCommandExecutionException: NOAUTH Authentication required.

GitHub | antonysychov | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When using LettucePool, auth with password do not work

    GitHub | 9 months ago | antonysychov
    org.springframework.data.redis.RedisSystemException: Redis exception; nested exception is com.lambdaworks.redis.RedisCommandExecutionException: NOAUTH Authentication required.

    Root Cause Analysis

    1. org.springframework.data.redis.RedisSystemException

      Redis exception; nested exception is com.lambdaworks.redis.RedisCommandExecutionException: NOAUTH Authentication required.

      at org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter.convert()
    2. Spring Data Redis
      RedisAtomicInteger.<init>
      1. org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter.convert(LettuceExceptionConverter.java:70)
      2. org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter.convert(LettuceExceptionConverter.java:41)
      3. org.springframework.data.redis.PassThroughExceptionTranslationStrategy.translate(PassThroughExceptionTranslationStrategy.java:37)
      4. org.springframework.data.redis.FallbackExceptionTranslationStrategy.translate(FallbackExceptionTranslationStrategy.java:37)
      5. org.springframework.data.redis.connection.lettuce.LettuceConnection.convertLettuceAccessException(LettuceConnection.java:327)
      6. org.springframework.data.redis.connection.lettuce.LettuceConnection.get(LettuceConnection.java:1202)
      7. org.springframework.data.redis.core.DefaultValueOperations$1.inRedis(DefaultValueOperations.java:46)
      8. org.springframework.data.redis.core.AbstractOperations$ValueDeserializingRedisCallback.doInRedis(AbstractOperations.java:54)
      9. org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:191)
      10. org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:153)
      11. org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:88)
      12. org.springframework.data.redis.core.DefaultValueOperations.get(DefaultValueOperations.java:43)
      13. org.springframework.data.redis.support.atomic.RedisAtomicInteger.<init>(RedisAtomicInteger.java:110)
      14. org.springframework.data.redis.support.atomic.RedisAtomicInteger.<init>(RedisAtomicInteger.java:58)
      14 frames