Getting an error issue with ratelimiter, this error happens once if the IP connects for the first time and any subsequent connection the rate-limiter will work correctly.
TypeError: Cannot read properties of null (reading 'points')
at RateLimiterMongo._getRateLimiterRes (\user\node_modules\rate-limiter-flexible\lib\RateLimiterMongo.js:124:33)
at RateLimiterMongo._afterConsume (\user\node_modules\rate-limiter-flexible\lib\RateLimiterStoreAbstract.js:51:22)
at \user\node_modules\rate-limiter-flexible\lib\RateLimiterStoreAbstract.js:263:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
I am using mongoose 6.5.3 under serverless instance, (do note that this issue also occurs on shared instances.)
Getting an error issue with ratelimiter, this error happens once if the IP connects for the first time and any subsequent connection the rate-limiter will work correctly.
I am using mongoose 6.5.3 under serverless instance, (do note that this issue also occurs on shared instances.)