Após rodar o comando que inicia o Docker o Spring Boot é inicializado e retorna o seguinte erro:
2020-11-12 01:17:44.415 WARN 1 --- [gistrationTask1] d.c.b.a.c.r.ApplicationRegistrator : Failed to register application as Application(name=spring-boot-application, managementUrl=http://50d3d26540dc:8080/actuator, healthUrl=http://50d3d26540dc:8080/actuator/health, serviceUrl=http://50d3d26540dc:8080/) at spring-boot-admin ([http://localhost:8081/instances]): I/O error on POST request for "http://localhost:8081/instances": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused). Further attempts are logged on DEBUG level
Quando tento realizar a requisição no endpoint "/topicos" me retorna o seguinte:
{
"timestamp": "2020-11-12T01:12:55.618+00:00",
"status": 401,
"error": "Unauthorized",
"message": "",
"path": "/topicos"
}
Não sei se o erro retornado ao inicializar o Spring Boot tem a ver com o Unauthorized, alguém pode dar um help por favor?