Skip to content

Does not work on Elasticache: Cannot read property 'multi' of null #57

@jeyarajcs

Description

@jeyarajcs

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions