Running services failed - akka: No coordinator found to register. Probably, no seed-nodes configured and manual cluster join not performed?


(Boyang) #1

I am running individual services by:

  • lagomServiceLocatorStart
  • lagomKafkaStart
  • lagomCassandraStart

and then

  • my-service/run

It’s working, and I can see my routes are registered with ServiceGateway. But it would give akka timeout no reply error. It would timeout because message is not sent to akka actor, judging from the logs I’m seeing:

19:14:07.807 [warn] akka.cluster.sharding.ShardRegion [sourceThread=voucher-impl-application-akka.actor.default-dispatcher-20, akkaTimestamp=11:14:07.806UTC, akkaSource=akka.tcp://voucher-impl-application@127.0.0.1:51832/system/sharding/VoucherDbEventProcessor, sourceActorSystem=voucher-impl-application] - No coordinator found to register. Probably, no seed-nodes configured and manual cluster join not performed? Total [8] buffered messages.
19:14:08.276 [warn] akka.cluster.sharding.ShardRegion [sourceThread=voucher-impl-application-akka.actor.default-dispatcher-21, akkaTimestamp=11:14:08.276UTC, akkaSource=akka.tcp://voucher-impl-application@127.0.0.1:51832/system/sharding/kafkaProducer-voucherSvc-voucherTopicV1, sourceActorSystem=voucher-impl-application] - No coordinator found to register. Probably, no seed-nodes configured and manual cluster join not performed? Total [8] buffered messages.
19:14:09.806 [warn] akka.cluster.sharding.ShardRegion [sourceThread=voucher-impl-application-akka.actor.default-dispatcher-19, akkaSource=akka.tcp://voucher-impl-application@127.0.0.1:51832/system/sharding/VoucherDbEventProcessor, sourceActorSystem=voucher-impl-application, akkaTimestamp=11:14:09.806UTC] - No coordinator found to register. Probably, no seed-nodes configured and manual cluster join not performed? Total [12] buffered messages.

According to the doc, this should be handled by lagom automatically (I’m running in local dev env). Am I missing anything?
https://www.lagomframework.com/documentation/1.4.x/scala/Cluster.html