Closed guyangxizhao closed 4 months ago
使用 redis作为store时,会报错: ERROR --- [TxTimeoutCheck_1_1] [io.seata.server.storage.redis.lock.RedisDistributedLocker] [acquireLock] []: The 192.168.9.0:8091 acquired the TxTimeoutCheck distributed lock failed. ==> redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication required.
ERROR --- [TxTimeoutCheck_1_1] [io.seata.server.storage.redis.lock.RedisDistributedLocker] [acquireLock] []: The 192.168.9.0:8091 acquired the TxTimeoutCheck distributed lock failed. ==> redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication required.
操作步骤: 1.直接下载https://github.com/apache/incubator-seata/releases/download/v2.0.0/seata-server-2.0.0.zip 2.解压后 修改 配置文件:
store: # support: file 、 db 、 redis 、 raft mode: redis session: mode: redis lock: mode: redis redis: mode: single password: password .....省略
3.启动: sh bin/seata-server.sh -m redis 然后就会报错 NOAUTH Authentication required
sh bin/seata-server.sh -m redis
NOAUTH Authentication required
4.redis密码和host都没问题
127.0.0.1:6379> auth password OK
这个是不是bug,怎么解决
使用 tar.gz 不报错可以正常使用
怎么解决的?我docker-compose部署也遇到这个问题了,指定变量STORE_MODE=redis。容器启动就是会报和你一样的错误
使用 redis作为store时,会报错:
ERROR --- [TxTimeoutCheck_1_1] [io.seata.server.storage.redis.lock.RedisDistributedLocker] [acquireLock] []: The 192.168.9.0:8091 acquired the TxTimeoutCheck distributed lock failed. ==> redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication required.
操作步骤: 1.直接下载https://github.com/apache/incubator-seata/releases/download/v2.0.0/seata-server-2.0.0.zip 2.解压后 修改 配置文件:
3.启动:
sh bin/seata-server.sh -m redis
然后就会报错NOAUTH Authentication required
4.redis密码和host都没问题
这个是不是bug,怎么解决