-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
healthz API returns OK not 200 #3398
healthz API returns OK not 200 #3398
Comments
The healthz endpoint returns an HTTP status code of 200 on success and a status code of 500 on failure—the actual response body is not especially meaningful. Are you seeing something else? And if so, what status code are you seeing? |
MacBook-Pro-2:.ssh robert.hare$ curl http://172.31.3.214:8080/healthz
< HTTP/1.1 200 OK
the health check for the AWS target group always fails, even though I can get an okay response from teh EC2 instance |
It says |
I agree with @amrnt—I’m not totally sure what the issue is here/what you think should work differently. I’m going to close this, but feel free to reopen it if you think it’s still an issue and can provide a little more information. |
no worries. I think we were grasping at straws when we couldn't get the health checks reporting correctly. |
Documentation says the healthz API returns a 200 on success and a 500 on failure. This is not what happens. The API returns the text string "ok".
The text was updated successfully, but these errors were encountered: