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
When trying to do a CORS request towards the endpoint, I get a Error #01: ERROR: rate limit exceded and a 409 in krakend logs, and of course the request fails. It seems to only happen for client max rate with the header strategy though. When I switch the strategy to ip it works fine.
Any idea?
The text was updated successfully, but these errors were encountered:
Just recently I added specific "slow" rate limits (like 0.02, 0.05 req/s) on several endpoints.
And after that I found that endpoint specified in the beginning throws 429 after just a couple of requests - I tried accessing it 40 times per second and got results like these:
First request: 2022-10-21 18:38:00.375449
Last request: 2022-10-21 18:38:00.770169
Status: 200, count: 3
Status: 429, count: 37
client_max_rate does not matter: I tried 20 / 200 / 2000 req/s - endpoint keeps returning 429s just after 2-3 requests
Hello!
When using the CORS plugin
github_com/devopsfaith/krakend-cors
:With the rate limiting defined in a POST endpoint and the
header
strategy:When trying to do a CORS request towards the endpoint, I get a
Error #01: ERROR: rate limit exceded
and a 409 in krakend logs, and of course the request fails. It seems to only happen for client max rate with theheader
strategy though. When I switch the strategy toip
it works fine.Any idea?
The text was updated successfully, but these errors were encountered: