-
Notifications
You must be signed in to change notification settings - Fork 40.9k
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
Health Web Endpoint Extension Failed to Initialize When Some Conditions Hit #29532
Comments
Spring Boot 2.6.3 has been confirmed to have the bug. |
I've reproduced the issue with the sample provided by @leovx (thanks! that was super useful!). To summarize: an application that selectively enables web endpoints (but not the health one) in its What happens is: The In the same class, All the CloudFoundry setup is done in The condition should be probably revisited with this use case in mind. |
Thanks @bclozel. To add up, some teams might not want to use PCF health, but the vanilla one. Hence they might have below setting set to false, which would disable
@mbhave Please do let me know what you think about the fix we can do in Spring Boot framework. I am pretty curious about the fix, though not yet have time to read through the whole Actuator codebase. Appreciated. :D |
This seems to belong to the 2.6.4 milestone. |
Dear all,
I just encountered a framework bug, details below. Let's together figure out the most neat way to handle it. :)
Trigger Conditions
Related Issues:
#28389
#25471
#28131
My Project to Replay the Bug and Temp Solution
https://github.com/leovx/spring-boot-actuator-pcf-bug-demo
Error log
The text was updated successfully, but these errors were encountered: