-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Too Many Requests when request /healthz via curl #2310
Comments
The |
Try to use another page for healthcheck like this one: https://ng.erb.pw/info/en/about IMO the limiter shouldn't block on the root page |
Hmm is there a way to just whitelist an IP from this limiter? EDIT: Is there also a way to remove the IP from the block list so it can at least work again? |
Sorry, not yet .. there is a PR #2129 .. the PR hangs ATM and I'm unsure if this is the best way to realize whitelisting .. on the long run I think we need some kind of "access that passes through the limiter" .. but may be "lets pass through by a token" is a better solution that fits to more use-cases .. I haven't had time to think about it yet, because I want to fix some urgent bugs before we hastily implement new features. Sorry that I can not offer more at the moment. |
There would be no need if the limiter didn't filter on the non search endpoints like GET |
Is there a reason this is marked as closed when the problem still persists? Did I duplicate this from another issue? I did search and couldn't see anything the same as the issue I have.
I agree this would probably be most useful. I've turned off the limiter for now, but would like to re-enable it if a workaround is found. |
Related: searxng#2310 (comment) Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Related: searxng#2310 (comment) Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
What you are looking for is I merge #2313 to fix an issue / tested on my instance:
Sorry, my fail .. is your issue now "closed" or should I reopen (if, for what reason)? |
Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG
As per the footer on the web page: 2023.4.2+b8100e4e
How did you install SearXNG?
Used the docker install from the oficial wiki
What happened?
I'm using curl on a webserver to check the HTTP status code to make sure the site is up or not, and update a status page I made for the services I run, the curl command checks the http response code;
How To Reproduce
Expected behavior
Additional information;
The text was updated successfully, but these errors were encountered: