Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limiting return 'Forbidden' (403) instead of 'Too Many Requests' (429) #1586

Open
mgvazquez opened this issue May 11, 2021 · 0 comments

Comments

@mgvazquez
Copy link

mgvazquez commented May 11, 2021

It's really confuse for debugging if when I reach the limit of the request per second, get a 'Forbidden' instead of 'Too Many Requests'.

Here is and example in the HAProxy Blog:
https://www.haproxy.com/blog/four-examples-of-haproxy-rate-limiting/

Is there a way to change the http code, other than use a custom-template?

@mgvazquez mgvazquez changed the title Rate limiting return 'Forbidden Rate limiting return 'Forbidden' (403) instead of 'Too Many Requests' (429) May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant