shenyu
shenyu copied to clipboard
[BUG] ratelimiter plugin slidewindos and concurrent is error
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
2022-07-29 23:15:27 [parallel-1] INFO org.apache.shenyu.plugin.base.AbstractShenyuPlugin - rateLimiter selector success match , selector name :/http 2022-07-29 23:15:27 [parallel-1] INFO org.apache.shenyu.plugin.base.AbstractShenyuPlugin - rateLimiter rule success match , rule name :/http/post/hi 2022-07-29 23:16:25 [lettuce-nioEventLoop-7-1] ERROR org.apache.shenyu.plugin.ratelimiter.handler.ShenyuReactiveScriptExecutor - Redis execute exception: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR value is not an integer or out of range script: 48f0fefe93d66b9f97f70f566935d4672953851c, on @user_script:52.
Expected Behavior
rate limit is right
Steps To Reproduce
No response
Environment
ShenYu version(s):2.5.0
Debug logs
2022-07-29 23:15:27 [parallel-1] INFO org.apache.shenyu.plugin.base.AbstractShenyuPlugin - rateLimiter selector success match , selector name :/http
2022-07-29 23:15:27 [parallel-1] INFO org.apache.shenyu.plugin.base.AbstractShenyuPlugin - rateLimiter rule success match , rule name :/http/post/hi
2022-07-29 23:16:25 [lettuce-nioEventLoop-7-1] ERROR org.apache.shenyu.plugin.ratelimiter.handler.ShenyuReactiveScriptExecutor - Redis execute exception: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR value is not an integer or out of range script: 48f0fefe93d66b9f97f70f566935d4672953851c, on @user_script:52.
Anything else?
No response