alexxiyang / shiro-redis

shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
MIT License
1.17k stars 446 forks source link

Shiro-redis not working for clustered AWS elastic cache #172

Open shagun3 opened 8 months ago

shagun3 commented 8 months ago

We are using shiro-redis in our spring-boot application. Facing the below error while updating from single node redis to multiple node redis cluster in spring-boot application.

Uncaught Exception: There is no session with id [99683a89-5c31-4cf6-befa-b9e3bbaf6632]
2024-03-14 15:44:09.338 ERROR [http-nio-9025-exec-2] [,,,,,,] org.crazycake.shiro.RedisManager : Unable to get redis resource : MOVED 2184 162.20.168.124:6379 

redis.clients.jedis.exceptions.JedisMovedDataException: MOVED 2184 162.20.168.124:6379