You must use the same as you have defined in akka.remote.netty.tcp.hostname In the log message you provided it looks like you have used an IP address there. Akka will not convert akka.remote.netty.tcp.hostname = trbe01-qa-tritdiy into an IP address
/Patrik On Sun, Jun 19, 2016 at 3:23 PM, Danny Lesnik <[email protected]> wrote: > I have akka cluster consisting of several nodes running on the remote > cloud. All machines have expiring IP address lease period so I should use > host names only. > > My akka version is 2.3.14 > > My configuration is the following; > akka.remote.netty.tcp.hostname = trbe01-qa-tritdiy > akka.remote.netty.tcp.port = 2551 > > > my cluster configured as follows: > > > akka.cluster.seed-nodes.0 = "akka.tcp://application@trbe01-qa-tritdiy > :2551" > akka.cluster.seed-nodes.1 = "akka.tcp://application@trbe02-qa-tritdiy > :2551" > akka.cluster.seed-nodes.2 = "akka.tcp://application@trbe03-qa-tritdiy > :2551" > > > > When I start first node, i'm getting this exception every 5 seconds: > > > ERROR > [application-akka.actor.default-dispatcher-41/application-akka.remote.default-remote-dispatcher-53] > akka.remote.EndpointWriter - dropping message [class > akka.actor.ActorSelectionMessage] for non-local recipient > [Actor[akka.tcp://application@trbe01-qa-tritdiy:2551/]] arriving at > [akka.tcp://application@trbe01-qa-tritdiy:2551] inbound addresses are > [akka.tcp://[email protected]:2551] > > > I have REST service used for maintenance purposes which can print all > typesafe config properties and it's values. > > > Now the weird thing is the following: > > *No matter whether I put IP address or host name I'm always > getting akka.remote.netty.tcp.hostname =** 10.204.xx.xx* from REST > Service, it looks like akka always resolves hostname and uses IP address > instead. > > > As the result i'm getting the error I mentioned above. > > Can you please help? > > > > > -- > >>>>>>>>>> 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. > -- Patrik Nordwall Akka Tech Lead Lightbend <http://www.lightbend.com/> - Reactive apps on the JVM Twitter: @patriknw -- >>>>>>>>>> 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.
