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

HTTP Health check method OPTIONS #1038

Open
rppala3 opened this issue Feb 4, 2024 · 0 comments
Open

HTTP Health check method OPTIONS #1038

rppala3 opened this issue Feb 4, 2024 · 0 comments

Comments

@rppala3
Copy link

rppala3 commented Feb 4, 2024

Recently I deployed standardnotes on my home server and everything seems work fine, but I had some trouble setting up my reverse proxy facing this warning:

[WARNING] (3182) : config : Server standardnotes_ipvANY/web is DOWN, changed from server-state after a reload. 2 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.

According to HAproxy documentation, they encourage the use of OPTIONS instead of GET to perform health check.
OPTIONS is the method usually best to perform server checks, HEAD and GET can also be used. If the server gets marked as down in the stats page then changing this to GET usually has the biggest chance of working, but might cause more processing overhead on the websever and is less easy to filter out of its logs.

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