1
resposta

Registro no SBA não funcionou

Atualizei a aplicação para o springboot 2.2.0. O actuator esta ok

O monitoramento para 2.2.0 e SBA para o 2.2.0 https://codecentric.github.io/spring-boot-admin/current/

d.c.b.a.c.r.ApplicationRegistrator : Failed to register application as Application(name=spring-boot-application, managementUrl=http://IP:8080/actuator, healthUrl=http://IP:8080/actuator/health, serviceUrl=http://IP:8080/) at spring-boot-admin ([http://localhost:8081/instances]): 401 Unauthorized. Further attempts are logged on DEBUG level

1 resposta

Aparentemente a API do SBA Server está protegida com autenticação HTTP Basic, portanto no seu application.properties do client, configure as tags:

  • spring.boot.admin.client.user
  • spring.boot.admin.client.password

https://codecentric.github.io/spring-boot-admin/current/#spring-boot-admin-client