Spring Boot Actuator Health Returning DOWN

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

    in my case, I needed both these properties to get more details :

    endpoints.health.sensitive: false
    management.security.enabled: false
    

    Otherwise, all I was getting was an DOWN status.

    I had an issue with RabbitMQ connection : my application is not using it yet, but we've started wiring some code related to it. The application works fine, but we were getting DOWN health status, which was quite puzzling : Spring Boot is surprisingly silent in the logs, as no error shows at startup (I'll probably need to change my config to make it more verbose)

提交回复
热议问题