Spring Boot Actuator Health Returning DOWN

后端 未结 12 1047
面向向阳花
面向向阳花 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:20

    I got the same issue when I upgraded an application from spring boot 1.5 to 2.3.5.RELEASE.

    Adding endpoints.health.sensitive and other properties as mentioned in other answers to application.properties didn't work for me.

    I fixed the issue by excluding RabbitAutoConfiguration.

    @EnableAutoConfiguration(exclude = { RabbitAutoConfiguration.class })

提交回复
热议问题