You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "guyangxizhao (via GitHub)" <gi...@apache.org> on 2024/05/29 14:31:16 UTC

[I] v2.0.0版本,使用redis作为store时,无法连接redis [incubator-seata]

guyangxizhao opened a new issue, #6590:
URL: https://github.com/apache/incubator-seata/issues/6590

   使用 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.解压后 修改 配置文件:
   <pre>
   store:
       # support: file 、 db 、 redis 、 raft
       mode: redis
       session:
         mode: redis
       lock:
         mode: redis
       redis:
         mode: single
         password: password
         .....省略
   
   </pre>
   
   3.启动:
   `sh bin/seata-server.sh -m redis`
   然后就会报错 `NOAUTH Authentication required`
   
   4.redis密码和host都没问题
   <pre>
   127.0.0.1:6379> auth password
   OK
   </pre>
   
   
   这个是不是bug,怎么解决
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] v2.0.0版本,使用redis作为store时,无法连接redis [incubator-seata]

Posted by "Leerecently (via GitHub)" <gi...@apache.org>.
Leerecently commented on issue #6590:
URL: https://github.com/apache/incubator-seata/issues/6590#issuecomment-2222358965

   怎么解决的?我docker-compose部署也遇到这个问题了,指定变量STORE_MODE=redis。容器启动就是会报和你一样的错误


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] v2.0.0版本,使用redis作为store时,无法连接redis [incubator-seata]

Posted by "guyangxizhao (via GitHub)" <gi...@apache.org>.
guyangxizhao commented on issue #6590:
URL: https://github.com/apache/incubator-seata/issues/6590#issuecomment-2137624902

   使用 tar.gz 不报错可以正常使用


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] v2.0.0版本,使用redis作为store时,无法连接redis [incubator-seata]

Posted by "guyangxizhao (via GitHub)" <gi...@apache.org>.
guyangxizhao closed issue #6590: v2.0.0版本,使用redis作为store时,无法连接redis
URL: https://github.com/apache/incubator-seata/issues/6590


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] v2.0.0版本,使用redis作为store时,无法连接redis [incubator-seata]

Posted by "guyangxizhao (via GitHub)" <gi...@apache.org>.
guyangxizhao closed issue #6590: v2.0.0版本,使用redis作为store时,无法连接redis
URL: https://github.com/apache/incubator-seata/issues/6590


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org