codecentric / spring-boot-admin

Admin UI for administration of spring boot applications
Apache License 2.0
12.4k stars 3.08k forks source link

Docker run application Error #820

Closed cherrishccl closed 6 years ago

cherrishccl commented 6 years ago

My spring-boot-admin2.0 was working well in my Idea IDE, but when I deployed in a docker and some errors occured, Would someone tell me why?

    at de.codecentric.boot.admin.server.eventstore.ConcurrentMapEventStore.createOptimisticLockException(ConcurrentMapEventStore.java:123) ~[spring-boot-admin-server-2.0.1.jar!/:2.0.1]
    at de.codecentric.boot.admin.server.eventstore.ConcurrentMapEventStore.doAppend(ConcurrentMapEventStore.java:93) ~[spring-boot-admin-server-2.0.1.jar!/:2.0.1]
    at de.codecentric.boot.admin.server.eventstore.ConcurrentMapEventStore.lambda$append$2(ConcurrentMapEventStore.java:71) ~[spring-boot-admin-server-2.0.1.jar!/:2.0.1]
    at reactor.core.publisher.MonoRunnable.call(MonoRunnable.java:67) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoRunnable.call(MonoRunnable.java:30) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.drain(MonoIgnoreThen.java:160) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:56) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:150) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onNext(FluxSwitchIfEmpty.java:67) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.Operators$ScalarSubscription.request(Operators.java:1640) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.set(Operators.java:1454) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onSubscribe(Operators.java:1328) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoJust.subscribe(MonoJust.java:54) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.Mono.subscribe(Mono.java:3080) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onComplete(FluxSwitchIfEmpty.java:75) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoFlatMap$FlatMapMain.onComplete(MonoFlatMap.java:174) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.Operators.complete(Operators.java:128) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoEmpty.subscribe(MonoEmpty.java:45) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoFlatMap.subscribe(MonoFlatMap.java:60) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoSwitchIfEmpty.subscribe(MonoSwitchIfEmpty.java:44) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoFlatMap.subscribe(MonoFlatMap.java:60) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.Mono.subscribe(Mono.java:3080) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.resubscribe(FluxRetryWhen.java:180) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.FluxRetryWhen$RetryWhenOtherSubscriber.onNext(FluxRetryWhen.java:226) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.innerNext(FluxConcatMap.java:271) [reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.FluxConcatMap$ConcatMapInner.onNext(FluxConcatMap.java:803) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    at reactor.core.publisher.MonoDelay$MonoDelayRunnable.run(MonoDelay.java:117) ~[reactor-core-3.1.8.RELEASE.jar!/:3.1.8.RELEASE]
    ... 8 common frames omitted
joshiste commented 6 years ago

This error occurs if there are concurrent writes to the repository storing the instances information. Usually the operations are retried a couple of times until they are successful. Does this happen all the time or rarely? Could you provide the full logs as attachment?

joshiste commented 6 years ago

the mentioned exception is not in the log, so I guess the issue is resolved.