Spring Boot Actuator Health Returning DOWN

后端 未结 12 1074
面向向阳花
面向向阳花 2021-01-31 02:49

When I access the /health endpoint from my Spring Boot application (1.2.4.RELEASE) it is returning a status of DOWN:

{
    status: \"DO         


        
12条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-31 03:06

    For springboot 2.3.2 and above just adding

    1. management.health.defaults.enabled=false solved my issue.
    2. Hitting the same API with /management/health now return "UP"

提交回复
热议问题