【问题标题】:ERR This instance has cluster support disabledERR 此实例已禁用集群支持
【发布时间】:2021-03-01 21:06:49
【问题描述】:

我正在尝试使用有效的 URL 和端口连接到集群 Redis 我收到此错误:

Caused by: io.lettuce.core.RedisCommandExecutionException: ERR This instance has cluster support disabled
    at io.lettuce.core.ExceptionFactory.createExecutionException(ExceptionFactory.java:135)
    at io.lettuce.core.ExceptionFactory.createExecutionException(ExceptionFactory.java:108)
    at io.lettuce.core.protocol.AsyncCommand.completeResult(AsyncCommand.java:118)
    at io.lettuce.core.protocol.AsyncCommand.complete(AsyncCommand.java:109)

我有cluster-enabled yes

【问题讨论】:

  • 嗨!你有这方面的最新消息吗?你是如何解决这个问题的? @yali
  • @OsamaKhalid 我只是添加了集群 url 而不是示例 redis

标签: java spring-boot spring-security redis


【解决方案1】:

确保使用 conf 作为参数

redis-server redis.conf

【讨论】:

    猜你喜欢
    • 2019-09-05
    • 2011-06-01
    • 1970-01-01
    • 2022-01-24
    • 2020-09-29
    • 1970-01-01
    • 1970-01-01
    • 2011-09-12
    • 1970-01-01
    相关资源
    最近更新 更多