getting "Whitelabel Error Page" running actuator health and mappings urls
As of Spring Boot 2.0.0.RELEASE the default prefix for all endpoints is /actuator
So if you want to check the health of an application, you should go to /actuator/health
To make an actuator endpoint available via HTTP, it needs to be both enabled and exposed.
By default:
only the
/health
and/info
endpoints are exposed.all endpoints but
/shutdown
are enabled (only /health and /info are exposed)
To expose all endpoints you have to add the following line into application.properties
:
management.endpoints.web.exposure.include=*
I had the same problem. After some trial and error, i got the actuator output when i hit http://localhost:8080 on the browser, it took me to the HAL browser . From the HAL's explorer, i typed actuator, which took me to http://localhost:8080/browser/index.html#http://localhost:8080/actuator and this is where are all the details I was looking for at http://localhost:8080/application was present.
Note Spring boot version that I am using is : 2.0.6 SNAPSHOT.
And, in the application.properties, i had added management.security.enabled=false. w/o this i could see very minimal info.