answering to myself: here is the correct way in CAS 7.3.3: cas.ticket.registry.redis.cluster.nodes[0].host=cas1.dnsname cas.ticket.registry.redis.cluster.nodes[0].port=6379 cas.ticket.registry.redis.cluster.nodes[0].type=MASTER cas.ticket.registry.redis.cluster.nodes[1].host= cas3.dnsname cas.ticket.registry.redis.cluster.nodes[1].port=6379 cas.ticket.registry.redis.cluster.nodes[1].type=MASTER cas.ticket.registry.redis.cluster.nodes[2].host= cas3.dnsname cas.ticket.registry.redis.cluster.nodes[2].port=6379 cas.ticket.registry.redis.cluster.nodes[2].type=MASTER
and this but it seems optional (working the same without): cas.ticket.registry.redis.cluster.nodes[3].host= cas1.dnsname cas.ticket.registry.redis.cluster.nodes[3].port=6380 cas.ticket.registry.redis.cluster.nodes[3].type=REPLICA cas.ticket.registry.redis.cluster.nodes[4].host= cas2.dnsname cas.ticket.registry.redis.cluster.nodes[4].port=6380 cas.ticket.registry.redis.cluster.nodes[4].type=REPLICA cas.ticket.registry.redis.cluster.nodes[5].host= cas3.dnsname cas.ticket.registry.redis.cluster.nodes[5].port=6380 cas.ticket.registry.redis.cluster.nodes[5].type=REPLICA Le mercredi 28 janvier 2026 à 15:39:05 UTC+1, Alexis M a écrit : > Hello, > trying to figure out how to configure Redis cluster in cas.properties. > > In my build.gradle: > implementation "org.apereo.cas:cas-server-support-redis-ticket-registry" > > In my cas.properties: > cas.ticket.registry.redis.enabled=true > cas.ticket.registry.redis.cluster.nodes[0].host=... > cas.ticket.registry.redis.cluster.nodes[1].host=... > cas.ticket.registry.redis.cluster.nodes[2].host=... > cas.ticket.registry.redis.password=<password> > > The logs: > INFO [org.apereo.cas.redis.core.RedisObjectFactory] - <Redis native > connection sharing is turned [on]> > Unsatisfied dependency expressed through method 'ticketRedisTemplate' > parameter 1: Error creating bean with name 'redisTicketConnectionFactory' > defined in class path resource > [org/apereo/cas/config/CasRedisTicketRegistryAutoConfiguration$RedisTicketRegistryCoreConfiguration.class]: > > *RedisURIs must not be empty* > > For the cas.ticket.registry.redis.cluster.nodes[].host I have tried ip > address, CNAME, with "", without, with redis:// ... > > Any guess? > > Thank you > -- - Website: https://apereo.github.io/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/24851db7-6af7-4d11-82ab-f8efc9b66c52n%40apereo.org.
