Spring Boot Admin cannot fetch healt information from client

Asked

Viewed 81 times

0

I made a simple library api but when my monitor tries to fetch her health reports return the following error:

Error in client :

Failed to register application as Application(name=spring-boot-application, managementUrl=http://BRSPOBITAN10044.la.ad.b2w:8080/actuator, healthUrl=http://BRSPOBITAN10044.la.ad.b2w:8080/actuator/health, serviceUrl=http://BRSPOBITAN10044.la.ad.b2w:8080/) at spring-boot-admin ([http://localhost:8081///actuator]): I/O error on POST request for "http://localhost:8081/actuator": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect. Further attempts are logged on DEBUG level

Monitor error:

java.util.concurrent.TimeoutException: Did not observe any item or terminal signal within 10000ms in 'map' (and no fallback has been configured)
    at reactor.core.publisher.FluxTimeout$TimeoutMainSubscriber.handleTimeout(FluxTimeout.java:294) ~[reactor-core-3.4.2.jar:3.4.2]
FluxTimeout.java:294
    Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 
Error has been observed at the following site(s):
    |_ checkpoint ⇢ Request to GET health [DefaultWebClient]
Stack trace:
        at reactor.core.publisher.FluxTimeout$TimeoutMainSubscriber.handleTimeout(FluxTimeout.java:294) ~[reactor-core-3.4.2.jar:3.4.2]
FluxTimeout.java:294
        at reactor.core.publisher.FluxTimeout$TimeoutMainSubscriber.doTimeout(FluxTimeout.java:279) ~[reactor-core-3.4.2.jar:3.4.2]
FluxTimeout.java:279
        at reactor.core.publisher.FluxTimeout$TimeoutTimeoutSubscriber.onNext(FluxTimeout.java:418) ~[reactor-core-3.4.2.jar:3.4.2]
FluxTimeout.java:418
        at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:79) ~[reactor-core-3.4.2.jar:3.4.2]
FluxOnErrorResume.java:79
        at reactor.core.publisher.MonoDelay$MonoDelayRunnable.run(MonoDelay.java:119) ~[reactor-core-3.4.2.jar:3.4.2]
MonoDelay.java:119
        at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:68) ~[reactor-core-3.4.2.jar:3.4.2]
SchedulerTask.java:68
        at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:28) ~[reactor-core-3.4.2.jar:3.4.2]
SchedulerTask.java:28
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_211]
FutureTask.java:266
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_211]
ScheduledThreadPoolExecutor.java:180
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[na:1.8.0_211]
ScheduledThreadPoolExecutor.java:293
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_211]
ThreadPoolExecutor.java:1149
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_211]
ThreadPoolExecutor.java:624
        at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_211]
Thread.java:748

As I do not know which files need I will leave the link of the two Reposories

liowl-api (client) https://github.com/wferreiracosta/liowl-api
Oraculum (monitor) https://github.com/wferreiracosta/oraculo

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.