Spring Boot Actuator Health Returning DOWN

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

    You guy are probably using Consul 1.0. There is a known issue in Spring Could Consul 1.1.0 or so with Consul 1.0. See this - https://github.com/spring-cloud/spring-cloud-consul/issues/365 and this - https://github.com/hashicorp/consul/issues/3635

    You will have to upgrade to Spring Could Consul 1.3.0.RELEASE.

提交回复
热议问题