io.lettuce.core.RedisCommandExecutionException: NOAUTH Authentication required可能不是密码问题

背景

我用的版本是:

    io.lettuce
    lettuce-core
    6.1.10.RELEASE

问题描述

本地(windows环境)和测试环境redis连接都没有问题,生产环境报错:io.lettuce.core.RedisCommandExecutionException: NOAUTH Authentication required

解决办法

(1)第一反应肯定是密码错误,然而检查了密码并没有问题

(2)客户端版本问题问题,去官网搜一下issue,发现有人已经反馈过了。降级版本问题解决

改后的版本:


    io.lettuce
    lettuce-core
    5.3.7.RELEASE

你可能感兴趣的:(08Redis,java,redis)