Hi Rohit,
Have you looked into the configuration setting
akka.remote.netty.tcp.hostname ?
# The hostname or ip to bind the remoting to,
# InetAddress.getLocalHost.getHostAddress is used if empty
hostname = ""
If getHostAddress does not return the address/hostname what other nodes
refer this host then it will refuse connections.
-Endre
On Fri, Jul 25, 2014 at 2:20 PM, Rohit Kumar Gupta <
[email protected]> wrote:
> Hi,
>
> Akka 2.3.4 is having huge issue in resolving the hostname/ipaddress when
> used with clustering. Sometimes it resolves the as hostname and sometimes
> it resolves as ipaddress. This makes the addresses different and one part
> of the cluster can't communicate with the other part of the cluster. I keep
> on getting the below error. This is a serious issue and seems like a bug.
>
> Note:- I am only configuring the hostname everywhere but somehow it picks
> up the ipaddress.
>
> Any information will be appreciated.
>
> Thanks,
> Rohit
>
> [ERROR] [07/25/2014 20:08:31.349]
> [ProductCluster-akka.remote.default-remote-dispatcher-15] [akka.tcp://
> [email protected]:2552/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FProductCluster%40172.16.144.66%3A2552-2/endpointWriter]
> dropping message [class akka.actor.ActorSelectionMessage] for non-local
> recipient [Actor[akka.tcp://
> [email protected]:2552/]] arriving at
> [akka.tcp://[email protected]:2552] inbound
> addresses are [akka.tcp://[email protected]:2552]
>
> [ERROR] [07/25/2014 20:08:34.347]
> [ProductCluster-akka.remote.default-remote-dispatcher-7] [akka.tcp://
> [email protected]:2552/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FProductCluster%40172.16.144.66%3A2552-2/endpointWriter]
> dropping message [class akka.actor.ActorSelectionMessage] for non-local
> recipient [Actor[akka.tcp://
> [email protected]:2552/]] arriving at
> [akka.tcp://[email protected]:2552] inbound
> addresses are [akka.tcp://[email protected]:2552]
>
> [ERROR] [07/25/2014 20:08:36.967]
> [ProductCluster-akka.remote.default-remote-dispatcher-7] [akka.tcp://
> [email protected]:2552/system/endpointManager/endpointWriter-akka.tcp%3A%2F%2FProductCluster%40gdcacn-fase13.ap.equinix.com%3A2551-5]
> dropping message [class
> com.equinix.fase.job.product.common.MasterWorkerProtocol$WorkIsReady] for
> non-local recipient [Actor[akka.tcp://
> [email protected]:2552/user/receptionist/akka%3A%2F%2FProductCluster%2Fuser%2Fworker%231908980676#798338406]]
> arriving at [akka.tcp://[email protected]:2552]
> inbound addresses are [akka.tcp://[email protected]:2552]
>
>
> [ERROR] [07/25/2014 20:08:36.972]
> [ProductCluster-akka.remote.default-remote-dispatcher-7] [akka.tcp://
> [email protected]:2552/system/endpointManager/endpointWriter-akka.tcp%3A%2F%2FProductCluster%40gdcacn-fase13.ap.equinix.com%3A2551-5]
> dropping message [class
> com.equinix.fase.job.product.common.MasterWorkerProtocol$WorkIsReady] for
> non-local recipient [Actor[akka.tcp://
> [email protected]:2552/user/receptionist/akka%3A%2F%2FProductCluster%2Fuser%2Fworker%23-375727047#1209858025]]
> arriving at [akka.tcp://[email protected]:2552]
> inbound addresses are [akka.tcp://[email protected]:2552]
>
>
> [ERROR] [07/25/2014 20:08:37.349]
> [ProductCluster-akka.remote.default-remote-dispatcher-15] [akka.tcp://
> [email protected]:2552/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FProductCluster%40172.16.144.66%3A2552-2/endpointWriter]
> dropping message [class akka.actor.ActorSelectionMessage] for non-local
> recipient [Actor[akka.tcp://
> [email protected]:2552/]] arriving at
> [akka.tcp://[email protected]:2552] inbound
> addresses are [akka.tcp://[email protected]:2552]
>
> [ERROR] [07/25/2014 20:08:40.347]
> [ProductCluster-akka.remote.default-remote-dispatcher-15] [akka.tcp://
> [email protected]:2552/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FProductCluster%40172.16.144.66%3A2552-2/endpointWriter]
> dropping message [class akka.actor.ActorSelectionMessage] for non-local
> recipient [Actor[akka.tcp://
> [email protected]:2552/]] arriving at
> [akka.tcp://[email protected]:2552] inbound
> addresses are [akka.tcp://[email protected]:2552]
>
> [ERROR] [07/25/2014 20:08:42.990]
> [ProductCluster-akka.remote.default-remote-dispatcher-7] [akka.tcp://
> [email protected]:2552/system/endpointManager/endpointWriter-akka.tcp%3A%2F%2FProductCluster%40gdcacn-fase13.ap.equinix.com%3A2551-5]
> dropping message [class
> com.equinix.fase.job.product.common.MasterWorkerProtocol$WorkIsReady] for
> non-local recipient [Actor[akka.tcp://
> [email protected]:2552/user/receptionist/akka%3A%2F%2FProductCluster%2Fuser%2Fworker%231908980676#798338406]]
> arriving at [akka.tcp://[email protected]:2552]
> inbound addresses are [akka.tcp://[email protected]:2552]
>
>
> [ERROR] [07/25/2014 20:08:42.992]
> [ProductCluster-akka.remote.default-remote-dispatcher-7] [akka.tcp://
> [email protected]:2552/system/endpointManager/endpointWriter-akka.tcp%3A%2F%2FProductCluster%40gdcacn-fase13.ap.equinix.com%3A2551-5]
> dropping message [class
> com.equinix.fase.job.product.common.MasterWorkerProtocol$WorkIsReady] for
> non-local recipient [Actor[akka.tcp://
> [email protected]:2552/user/receptionist/akka%3A%2F%2FProductCluster%2Fuser%2Fworker%23-375727047#1209858025]]
> arriving at [akka.tcp://[email protected]:2552]
> inbound addresses are [akka.tcp://[email protected]:2552]
>
>
> [ERROR] [07/25/2014 20:08:43.347]
> [ProductCluster-akka.remote.default-remote-dispatcher-7] [akka.tcp://
> [email protected]:2552/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FProductCluster%40172.16.144.66%3A2552-2/endpointWriter]
> dropping message [class akka.actor.ActorSelectionMessage] for non-local
> recipient [Actor[akka.tcp://
> [email protected]:2552/]] arriving at
> [akka.tcp://[email protected]:2552] inbound
> addresses are [akka.tcp://[email protected]:2552]
>
> --
> >>>>>>>>>> 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 http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
--
Akka Team
Typesafe - The software stack for applications that scale
Blog: letitcrash.com
Twitter: @akkateam
--
>>>>>>>>>> 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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.