-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Eureka Causes Health Indicator to Fail When Disabled #2037
Comments
Can you verify this is an issue in 1.2.0 ? |
Yes, the same thing plays out after upgrading to 1.2.0. I've pushed an update the sample app, upgrading it to 1.2.0. |
@michaeljmcd So there are a couple factors here:
There is also a |
So while it's clear in your case that the client should not be enabled because both discovery and registration are disabled, I don't know what the behavior should be if only one of the two are disabled. |
If either are enabled I imagine there should be a health check |
OK - I'll update the |
I have an app where I am using Spring Cloud Config, but not Eureka. Health endpoints are also enabled, but when I hit
/health
the application always shows asDOWN
, where the only issue at play is that the health check cannot connect to Eureka. It doesn't seem like the Eureka client should affectSteps to Reproduce
/health
endpoint.Expected Behaviour
/health
should report service as UP because no enabled dependencies fail.Actual Behaviour
/health
endpoint returns a status of DOWN and the following stack trace is shown in stdout.Environment Information
Example Application
A minimal sample app is available at https://github.com/michaeljmcd/eureka-health-issue
The text was updated successfully, but these errors were encountered: