2881099/FreeRedis

同样的连接配置我在csredis可以使用但是在freeRedis却不可以使用

yjqGitHub opened this issue · 5 comments

"FreeRedis.RedisClientException: All "clusterConnectionStrings" failed to connect.
ERR This instance has cluster support disabled\r\n at FreeRedis.RedisClient.ClusterAdapter.RefershClusterNodes()\r\n at FreeRedis.RedisClient.ClusterAdapter..ctor(RedisClient topOwner, ConnectionStringBuilder[] clusterConnectionStrings)

代码中创建连接的方式:
return new RedisClient(connectionString);

构造参数有点区别,注意看参数类型,和你的redis模式

这个加大了我使用的难度,在readme能帮忙加一下说明吗?我可以参考下该怎么使用

我尝试了example中所有的创建连接方式,但是都还是报同样的错误。

单机哨兵集群还是什么模式?

错误提示,用了集群模式,但是所提供的连接串都连不通

我们用的是主备模式,我把它创建对象切换csredis,他就正常访问了。