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/f3c8a217-3d9b-4997-a00a-fa805da27fe5n%40apereo.org.

Reply via email to