Today's update:

I tried setting the bind-hostname also:

akka.remote.netty.tcp.bind-hostname = 0.0.0.0

But no luck !!

I verified the connectivity between two docker containers, from inside 
container.

telnet hostname1 2551 (From hostname2 works)
telnet hostname2 2552 (From hostname1 works)
host hostname1 (From hostname2 works)
host hostname2 (From hostname1 works)

I'm using Akka 2.4.4 version.

Appreciate if anyone have any idea/pointers what could be going wrong here?

Thank you very much.
Manoj


On Tuesday, 21 June 2016 01:36:02 UTC-7, Manoj Santhakumaran wrote:
>
> Hi,
>
> I'm working on a Play/Akka application with cluster system of two nodes, 
> and each node is deployed in docker container in two different hosts.
>
> My log files are filled up with following message, which comes every 5/10 
> milli seconds.
>
> WARN  | 2016-06-21 01:00:03 | 
> [ClusterSystem-akka.actor.default-dispatcher-21] ? - [?] - Association with 
> remote system [akka.tcp://ClusterSystem@hostname2:54797] has failed, 
> address is now gated for [5000] ms. Reason: [Association failed with 
> [akka.tcp://ClusterSystem@hostname2:54797]] Caused by: [Connection refused: 
> hostname2/xxx.xxx.xxx.xxx:54797]
>
> Can anyone help me to understand and fix this issue?
>
> My application.conf is as follows:
>
> akka {
>     actor.provider = "akka.cluster.ClusterActorRefProvider"
>     ...
>     cluster {
>         seed-nodes = [
>             "akka.tcp://ClusterSystem@hostname1:2551",
>             "akka.tcp://ClusterSystem@hostname2:2552"]
>     }
>     ...
> }
>
> And I'm passing port and host name as JVM args for both of the instances 
> (Eg: -Dakka.remote.netty.tcp.port=2551/2552 
> -Dakka.remote.netty.tcp.hostname=hostname1/hostname2)
>
> I verified the network connectivity between these two hosts using "ping" 
> command inside docker container. There was no packet loss and looked fine.
>
> Thank you very much.
> Manoj
>
>

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
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