Thank You all for responses. Olivier, Turning off the redis-search worked fine for me as well and I have used same configuration. However, this might not be a actual solution.
Wes, I am not sure whether it is compatibility issue. I tried with local Redis and the AWS Elasticache. The issue seems to be on build/beans initialization itself rather than while making connection. On Tuesday, January 13, 2026 at 4:07:12 AM UTC+5:45 Wes Conley wrote: > It may be that your redis server doesn't support redis search. I'm > successfully using redis-stack-server:7.2.0-v18 ( > https://hub.docker.com/r/redis/redis-stack-server) > with cas.ticket.registry.redis.enable-redis-search=true. In my redis.conf I > load the redis search library. > > loadmodule /opt/redis-stack/lib/redisearch.so. > > On Monday, January 12, 2026 at 11:56:21 AM UTC-5 Olivier wrote: > >> Hi Prakash, >> >> I had the same issue when upgrading CAS from 6.6 to 7.3 with AWS >> Elasticache Redis. >> This has been solved by adding the following property: >> cas.ticket.registry.redis.enable-redis-search=false >> I’m not sure if there is a better solution but it worked for me, although >> I have not performed any performance test yet, so, I’m not yet sure if >> there will be any performance impact. >> >> Thanks. >> Olivier Begon. >> Florida State University. >> >> On Friday, January 9, 2026 at 7:38:17 AM UTC-5 Prakash Thapa wrote: >> >> I am trying to integrate Redis Ticket Registry for CAS 7.2.4. And I ran >> into following error while running my CAS >> >> *Caused by: org.springframework.beans.factory.BeanCreationException: >> Error creating bean with name 'redisModulesOperations' defined in class >> path resource >> [org/apereo/cas/config/CasRedisTicketRegistryAutoConfiguration$RedisTicketRegistryModulesConfiguration.class]: >> >> Failed to instantiate [org.apereo.cas.redis.core.RedisModulesOperations]: >> Factory method 'redisModulesOperations' threw exception with message: Redis >> server does not support Redis Modules* >> >> The issue seem to arise from following block of code of class >> 'CasRedisTicketRegistryAutoConfiguration': >> >> val operations = redisModulesOperations.stream().filter(BeanSupplier:: >> isNotProxy).findFirst(); >> return new RedisTicketRegistry(cipher, ticketSerializationManager, >> ticketCatalog, applicationContext, >> casRedisTemplates, redisTicketRegistryCache, >> redisTicketRegistryMessagePublisher, >> operations, redisKeyGeneratorFactory, adapter, casProperties); >> >> The config is: >> >> cas: >> ticket: >> registry: >> redis: >> # Redis server host >> host: "localhost" >> port: 6379 >> password: "your-redis-password" >> database: 0 >> enabled: true >> crypto: >> enabled: true >> encryption: >> key: "YourEncryptionKeyMustBeAtLeast256Bits" >> signing: >> key: "YourSigningKeyMustBeAtLeast256Bits" >> >> I have added following dependencies: >> implementation("org.apereo.cas:cas-server-support-redis-ticket-registry:$ >> {project.'cas.version'}") >> implementation("org.apereo.cas:cas-server-support-redis-modules:${project >> .'cas.version'}") >> >> -- - 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/ac7513a0-85c8-499b-aa20-e54c96ade63bn%40apereo.org.
