You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that after RateLimitPolicy (RLP) CR is modified - e.g. limit is changed to some other number - it stops working. By that I mean that the 429 Too Many Request is never returned, one receives as many 200 OKs as they want.
The only suspicious entry from log is found in Limitador pod log. The following entry appears in that log after each hit of API endpoint that is rate-limited by modified RLP:
thread 'main' panicked at limitador/src/storage/in_memory.rs:106:58:
called `Option::unwrap()` on a `None` value
Once limit it reverted back to original value everything starts working as expected.
This has been discovered using Kuadrant nightly build from November 20
Steps to reproduce
Create 1 GW, 1 HTTPRoute and one RLP attached to GW (does not matter, could be also attached to HTTPRoute instead). Make sure everything works as expected and the 429 is returned after expected no. of 200s.
Edit the RLP so that different no. of requests is allowed.
Try again, this time 429 is not returned as expected, one continues getting 200s. And see Limitador pod logs for the entry mentioned above.
The text was updated successfully, but these errors were encountered:
Overview
It seems that after RateLimitPolicy (RLP) CR is modified - e.g.
limit
is changed to some other number - it stops working. By that I mean that the 429 Too Many Request is never returned, one receives as many 200 OKs as they want.The only suspicious entry from log is found in Limitador pod log. The following entry appears in that log after each hit of API endpoint that is rate-limited by modified RLP:
Once
limit
it reverted back to original value everything starts working as expected.This has been discovered using Kuadrant nightly build from November 20
Steps to reproduce
Create 1 GW, 1 HTTPRoute and one RLP attached to GW (does not matter, could be also attached to HTTPRoute instead). Make sure everything works as expected and the 429 is returned after expected no. of 200s.
Edit the RLP so that different no. of requests is allowed.
Try again, this time 429 is not returned as expected, one continues getting 200s. And see Limitador pod logs for the entry mentioned above.
The text was updated successfully, but these errors were encountered: