Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I got an error when a running client service.
018-09-29 16:10:49.072 ERROR 14815 --- [gistrationTask1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task.
java.lang.IllegalStateException: Either health or status endpoint must be enabled!
there is my client application.properties
server.port = 8090
spring.boot.admin.client.url=http://localhost:8010
spring.application.name=xxx
management.endpoints.web.exposure.include="*"
management.endpoint.health.show-details=always
spring.boot.admin.client.username=admin
spring.boot.admin.client.password=admin
and my server application.properties
server.port = 8010
spring.security.user.name=admin
spring.security.user.password=admin
I just follow the Reference Guide and nothing works
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.