Quite often, especially on slower machines (test, intergration)  akka 
cluster extension timeouts:

08:11:39.642 [sgActors-akka.actor.default-dispatcher-4] ERROR 
Cluster(akka://sgActors): Failed to startup Cluster. You can try to 
increase 'akka.actor.creation-timeout'.
java.util.concurrent.TimeoutException: Futures timed out after [60000 
milliseconds]

I already increased timeout from 20s to 60s but it still might be not 
enough.
I think it is due to some other stuff being too heavy while doing 
application startup, so I maybe there is a way to block until cluster actor 
is ready - like some event ? This way of course means application will 
start longer, but with higher chance of success. I don't need any 
particular cluster member to be up before continuing, only [cluster] actor 
to be constructed.


-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to