Hi Guys,

I have an Akka cluster application that has no issues as long as I am on my 
network.
I also spun up a few hosts on AWS - and again no problems.
When I connect to my VPN, and use the IP address of my VPN i am unable to 
form an Akka cluster. 

UDP is accessible and ports are accessible as tested using nectat.

There are some messages coming through (onAvailableImage, and 
onUnavailableImage), but the cluster is not forming. 

How should i debug this?


Here are some logs as seen by the first cluster node:

21:02:04.098UTC DEBUG a.c.singleton.ClusterSingletonProxy 
akka://system@10.55.67.173:25521/user/myRouterProxy: Singleton not 
available, buffering message type [akka.actor.RepointableActorRef]

21:02:04.103UTC DEBUG a.c.singleton.ClusterSingletonProxy 
akka://system@10.55.67.173:25521/user/myRouterProxy: Creating singleton 
identification timer...

21:02:04.104UTC DEBUG a.c.singleton.ClusterSingletonProxy 
akka://system@10.55.67.173:25521/user/myRouterProxy: Trying to identify 
singleton at [akka://system@10.55.67.173:25521/user/myRouter/singleton]

21:02:04.110UTC INFO  a.c.s.ClusterSingletonManager 
akka://system@10.55.67.173:25521/user/myRouter: Singleton manager starting 
singleton actor [akka://system/user/myRouter/singleton]

21:02:04.111UTC INFO  a.c.s.ClusterSingletonManager 
akka://system@10.55.67.173:25521/user/myRouter: ClusterSingletonManager 
state change [Start -> Oldest]

21:02:05.109UTC DEBUG a.c.singleton.ClusterSingletonProxy 
akka://system@10.55.67.173:25521/user/myRouterProxy: Trying to identify 
singleton at [akka://system@10.55.67.173:25521/user/myRouter/singleton]

21:02:05.110UTC INFO  a.c.singleton.ClusterSingletonProxy 
akka://system@10.55.67.173:25521/user/myRouterProxy: Singleton identified 
at [akka://system/user/myRouter/singleton]

21:02:05.110UTC DEBUG a.c.singleton.ClusterSingletonProxy 
akka://system@10.55.67.173:25521/user/myRouterProxy: Sending buffered 
messages to current singleton instance

21:02:16.592UTC DEBUG a.r.a.ArteryTransport(akka://system) 
akka.remote.artery.ArteryTransport(akka://system): onAvailableImage from 
10.55.67.173:62242 session -1239356624

21:02:26.863UTC DEBUG a.r.a.ArteryTransport(akka://system) 
akka.remote.artery.ArteryTransport(akka://system): onUnavailableImage from 
10.55.67.173:62242 session -1239356624


Here are some logs of the issues, as seen from the slave, trying to join 
the cluster already setup

8 20:48:00.158UTC INFO  akka.cluster.Cluster(akka://system): Cluster Node 
[akka://system@10.55.67.173:52472] - Starting up...

  9 20:48:00.245UTC INFO  akka.cluster.Cluster(akka://system): Cluster Node 
[akka://system@10.55.67.173:52472] - Registered cluster JMX MBean 
[akka:type=Cluster]

 10 20:48:00.245UTC INFO  akka.cluster.Cluster(akka://system): Cluster Node 
[akka://system@10.55.67.173:52472] - Started up successfully

 11 20:48:00.268UTC DEBUG akka.remote.artery.Association(akka://system): 
Starting outbound control stream to [akka://system@10.55.67.173:25521]

 12 20:48:00.373UTC DEBUG akka.remote.artery.Association(akka://system): 
Starting outbound message stream to [akka://system@10.55.67.173:25521]

 13 20:48:10.518UTC WARN  
akka://system@10.55.67.173:52472/system/cluster/core/daemon/joinSeedNodeProcess-1:
 
Couldn't join seed nodes after [2] attempts, will try again. 
seed-nodes=[akka://system@10.55.67.173:25521]

 14 20:48:15.536UTC WARN  
akka://system@10.55.67.173:52472/system/cluster/core/daemon/joinSeedNodeProcess-1:
 
Couldn't join seed nodes after [3] attempts, will try again. 
seed-nodes=[akka://system@10.55.67.173:25521]

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to