2021-10-21 13:13:05TypeError: Cannot read property 'multi' of null 2021-10-21 13:13:05at RedisRateLimiter.getTimestamps (/app/node_modules/rolling-rate-limiter/lib/index.js:153:35) 2021-10-21 13:13:05at RedisRateLimiter.limitWithInfo (/app/node_modules/rolling-rate-limiter/lib/index.js:27:39) 2021-10-21 13:13:05at RedisRateLimiter.limit (/app/node_modules/rolling-rate-limiter/lib/index.js:42:28) 2021-10-21 13:13:05at rateLimiter (/app/services/middlewares/index.js:159:27)
It is running locally(local Redis) well. But when I pushed to AWS ECS with Elasticache, I got the above error.
Did anyone face a similar issue or any suggestions to resolve this?