thank you so much it works, 

On Thursday, July 20, 2017 at 11:56:04 PM UTC+5:30, Marek Żebrowski wrote:
>
> look at your cluster port configuration:
>
> netty.tcp {
>       hostname = "127.0.0.1"
>       port = 0
>     }
>
> means means that app can choose first free port and in your case it chosen 
> 1170 
>
> > listening on addresses :[akka.tcp://[email protected]:1170]
>
> and cluster seed nodes are configured for ports 2551 and 2552 
>
> >seed-nodes = [
> >     "akka.tcp://[email protected]:2551", 
> >      "akka.tcp://[email protected]:2552"]
>
> when your app starts it looks for seed nodes that you specified and fails 
> to connect
> > Error [Association failed with [akka.tcp://[email protected]:2552]] 
> [
> so you just need to fix ports configuration
>
> W dniu czwartek, 20 lipca 2017 20:09:47 UTC+2 użytkownik Kiran Sarma 
> napisał:
>>
>>  i attach the files and i run , it display like this 
>> //========================== MAIN PROGRAM OF CLUSTER STARTED 
>> ===================================
>> //========================== CREATE ACTOR 
>> ===================================
>> [DEBUG] [07/20/2017 19:41:07.463] [main] 
>> [EventStream(akka://ClusterSystem)] logger log1-Logging$DefaultLogger 
>> started
>> [DEBUG] [07/20/2017 19:41:07.463] [main] 
>> [EventStream(akka://ClusterSystem)] Default Loggers started
>> [INFO] [07/20/2017 19:41:08.476] [main] [akka.remote.Remoting] Starting 
>> remoting
>> [INFO] [07/20/2017 19:41:09.613] [main] [akka.remote.Remoting] Remoting 
>> started; listening on addresses :[akka.tcp://[email protected]:1170
>> ]
>> [INFO] [07/20/2017 19:41:09.613] [main] [akka.remote.Remoting] Remoting 
>> now listens on addresses: [akka.tcp://[email protected]:1170]
>> [INFO] [07/20/2017 19:41:09.676] [main] 
>> [akka.cluster.Cluster(akka://ClusterSystem)] Cluster Node [akka.tcp://
>> [email protected]:1170] - Starting up...
>> [INFO] [07/20/2017 19:41:10.237] [main] 
>> [akka.cluster.Cluster(akka://ClusterSystem)] Cluster Node [akka.tcp://
>> [email protected]:1170] - Registered cluster JMX MBean 
>> [akka:type=Cluster]
>> [INFO] [07/20/2017 19:41:10.237] [main] 
>> [akka.cluster.Cluster(akka://ClusterSystem)] Cluster Node [akka.tcp://
>> [email protected]:1170] - Started up successfully
>> //============================ CREATE ACTOR REF 
>> =================================
>> //========================= CLUSTER SUBSCRIBE 
>> ====================================
>> //============================= END OF MAIN 
>> ================================
>> //======================== CLUSTER INVOKING PRESTART METHOD 
>> ==================================
>> //======================== CLUSTER PRESTART METHOD INVOKED 
>> ==================================
>> [DEBUG] [07/20/2017 19:41:10.502] 
>> [ClusterSystem-akka.actor.default-dispatcher-4] [akka.tcp://
>> [email protected]:1170/system/cluster-metrics] Collection started.
>> [WARN] [07/20/2017 19:41:10.533] 
>> [ClusterSystem-akka.actor.default-dispatcher-4] [akka.tcp://
>> [email protected]:1170/system/cluster/core/daemon/downingProvider] 
>> Don't use auto-down feature of Akka Cluster in production. See 
>> 'Auto-downing (DO NOT USE)' section of Akka Cluster documentation.
>> [DEBUG] [07/20/2017 19:41:10.580] 
>> [ClusterSystem-akka.actor.default-dispatcher-17] 
>> [akka.cluster.metrics.MetricsCollector$(akka://ClusterSystem)] Trying 
>> akka.cluster.metrics.SigarMetricsCollector.
>> [DEBUG] [07/20/2017 19:41:10.611] 
>> [ClusterSystem-akka.actor.default-dispatcher-17] 
>> [akka.cluster.metrics.MetricsCollector$(akka://ClusterSystem)] Trying 
>> akka.cluster.metrics.JmxMetricsCollector.
>> [INFO] [07/20/2017 19:41:10.642] 
>> [ClusterSystem-akka.actor.default-dispatcher-17] 
>> [akka.cluster.Cluster(akka://ClusterSystem)] Cluster Node [akka.tcp://
>> [email protected]:1170] - Metrics collection has started 
>> successfully
>> [DEBUG] [07/20/2017 19:41:11.935] 
>> [ClusterSystem-akka.remote.default-remote-dispatcher-8] [akka.tcp://
>> [email protected]:1170/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2552-0/endpointWriter]
>>  
>> AssociationError [akka.tcp://[email protected]:1170] -> 
>> [akka.tcp://[email protected]:2552]: Error [Association failed 
>> with [akka.tcp://[email protected]:2552]] [
>> akka.remote.EndpointAssociationException: Association failed with 
>> [akka.tcp://[email protected]:2552]
>> Caused by: akka.remote.transport.netty.NettyTransportExceptionNoStack: 
>> Connection refused: no further information: /127.0.0.1:2552
>> ]
>> [WARN] [07/20/2017 19:41:11.935] 
>> [ClusterSystem-akka.remote.default-remote-dispatcher-7] [akka.tcp://
>> [email protected]:1170/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2552-0]
>>  
>> Association with remote system [akka.tcp://[email protected]:2552] 
>> has failed, address is now gated for [5000] ms. Reason: [Association failed 
>> with [akka.tcp://[email protected]:2552]] Caused by: [Connection 
>> refused: no further information: /127.0.0.1:2552]
>> [WARN] [07/20/2017 19:41:12.060] [New I/O boss #3] 
>> [NettyTransport(akka://ClusterSystem)] Remote connection to null failed 
>> with java.net.ConnectException: Connection refused: no further information: 
>> /127.0.0.1:2552
>> [WARN] [07/20/2017 19:41:12.060] [New I/O boss #3] 
>> [NettyTransport(akka://ClusterSystem)] Remote connection to null failed 
>> with java.net.ConnectException: Connection refused: no further information: 
>> /127.0.0.1:2551
>> [DEBUG] [07/20/2017 19:41:12.060] 
>> [ClusterSystem-akka.remote.default-remote-dispatcher-8] [akka.tcp://
>> [email protected]:1170/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2551-1/endpointWriter]
>>  
>> AssociationError [akka.tcp://[email protected]:1170] -> 
>> [akka.tcp://[email protected]:2551]: Error [Association failed 
>> with [akka.tcp://[email protected]:2551]] [
>> akka.remote.EndpointAssociationException: Association failed with 
>> [akka.tcp://[email protected]:2551]
>> Caused by: akka.remote.transport.netty.NettyTransportExceptionNoStack: 
>> Connection refused: no further information: /127.0.0.1:2551
>> ]
>> [WARN] [07/20/2017 19:41:12.060] 
>> [ClusterSystem-akka.remote.default-remote-dispatcher-8] [akka.tcp://
>> [email protected]:1170/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2551-1]
>>  
>> Association with remote system [akka.tcp://[email protected]:2551] 
>> has failed, address is now gated for [5000] ms. Reason: [Association failed 
>> with [akka.tcp://[email protected]:2551]] Caused by: [Connection 
>> refused: no further information: /127.0.0.1:2551]
>> [DEBUG] [07/20/2017 19:41:12.154] 
>> [ClusterSystem-akka.remote.default-remote-dispatcher-7] [akka.tcp://
>> [email protected]:1170/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2551-1/endpointWriter]
>>  
>> Disassociated [akka.tcp://[email protected]:1170] -> [akka.tcp://
>> [email protected]:2551]
>> [INFO] [07/20/2017 19:41:12.154] 
>> [ClusterSystem-akka.actor.default-dispatcher-16] 
>> [akka://ClusterSystem/deadLetters] Message 
>> [akka.cluster.InternalClusterAction$InitJoin$] from 
>> Actor[akka://ClusterSystem/system/cluster/core/daemon/joinSeedNodeProcess-1#1158725741]
>>  
>> to Actor[akka://ClusterSystem/deadLetters] was not delivered. [1] dead 
>> letters encountered. This logging can be turned off or adjusted with 
>> configuration settings 'akka.log-dead-letters' and 
>> 'akka.log-dead-letters-during-shutdown'.
>> [DEBUG] [07/20/2017 19:41:12.154] 
>> [ClusterSystem-akka.remote.default-remote-dispatcher-8] [akka.tcp://
>> [email protected]:1170/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2552-0/endpointWriter]
>>  
>> Disassociated [akka.tcp://[email protected]:1170] -> [akka.tcp://
>> [email protected]:2552]
>> [INFO] [07/20/2017 19:41:12.169] 
>> [ClusterSystem-akka.actor.default-dispatcher-16] [akka.tcp://
>> [email protected]:2552/user/clusterListener] Message 
>> [java.lang.String] from Actor[akka://ClusterSystem/temp/$a] to 
>> Actor[akka.tcp://[email protected]:2552/user/clusterListener] was 
>> not delivered. [2] dead letters encountered. This logging can be turned off 
>> or adjusted with configuration settings 'akka.log-dead-letters' and 
>> 'akka.log-dead-letters-during-shutdown'.
>> [INFO] [07/20/2017 19:41:12.169] 
>> [ClusterSystem-akka.actor.default-dispatcher-16] 
>> [akka://ClusterSystem/deadLetters] Message 
>> [akka.cluster.InternalClusterAction$InitJoin$] from 
>> Actor[akka://ClusterSystem/system/cluster/core/daemon/joinSeedNodeProcess-1#1158725741]
>>  
>> to Actor[akka://ClusterSystem/deadLetters] was not delivered. [3] dead 
>> letters encountered. This logging can be turned off or adjusted with 
>> configuration settings 'akka.log-dead-letters' and 
>> 'akka.log-dead-letters-during-shutdown'.
>> [INFO] [07/20/2017 19:41:12.185] 
>> [ClusterSystem-akka.actor.default-dispatcher-18] 
>> [akka://ClusterSystem/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2551-1/endpointWriter]
>>  
>> Message [akka.remote.EndpointWriter$AckIdleCheckTimer$] from 
>> Actor[akka://ClusterSystem/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2551-1/endpointWriter#-2146084698]
>>  
>> to 
>> Actor[akka://ClusterSystem/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2551-1/endpointWriter#-2146084698]
>>  
>> was not delivered. [4] dead letters encountered. This logging can be turned 
>> off or adjusted with configuration settings 'akka.log-dead-letters' and 
>> 'akka.log-dead-letters-during-shutdown'.
>> [INFO] [07/20/2017 19:41:12.185] 
>> [ClusterSystem-akka.actor.default-dispatcher-18] 
>> [akka://ClusterSystem/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2552-0/endpointWriter]
>>  
>> Message [akka.remote.EndpointWriter$AckIdleCheckTimer$] from 
>> Actor[akka://ClusterSystem/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2552-0/endpointWriter#2095159069]
>>  
>> to 
>> Actor[akka://ClusterSystem/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2552-0/endpointWriter#2095159069]
>>  
>> was not delivered. [5] dead letters encountered. This logging can be turned 
>> off or adjusted with configuration settings 'akka.log-dead-letters' and 
>> 'akka.log-dead-letters-during-shutdown'.
>> [INFO] [07/20/2017 19:41:12.185] 
>> [ClusterSystem-akka.actor.default-dispatcher-18] 
>> [akka://ClusterSystem/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2552-0/endpointWriter]
>>  
>> Message [akka.remote.EndpointWriter$AckIdleCheckTimer$] from 
>> Actor[akka://ClusterSystem/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2552-0/endpointWriter#2095159069]
>>  
>> to 
>> Actor[akka://ClusterSystem/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2552-0/endpointWriter#2095159069]
>>  
>> was not delivered. [6] dead letters encountered. This logging can be turned 
>> off or adjusted with configuration settings 'akka.log-dead-letters' and 
>> 'akka.log-dead-letters-during-shutdown'.
>> //========================== CLUSTER IS STOPPED ....! 
>> ================================
>> [ERROR] [07/20/2017 19:41:15.504] 
>> [ClusterSystem-akka.actor.default-dispatcher-3] 
>> [akka://ClusterSystem/user/SimpleClusterListner] Ask timed out on 
>> [Actor[akka.tcp://[email protected]:2552/user/clusterListener]] 
>> after [5000 ms]. Sender[null] sent message of type "java.lang.String".
>> akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka.tcp://
>> [email protected]:2552/user/clusterListener]] after [5000 ms]. 
>> Sender[null] sent message of type "java.lang.String".
>>     at 
>> akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:601)
>>     at akka.actor.Scheduler$$anon$4.run(Scheduler.scala:140)
>>     at 
>> scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:601)
>>     at 
>> scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:109)
>>     at 
>> scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:599)
>>     at 
>> akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:328)
>>     at 
>> akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:279)
>>     at 
>> akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:283)
>>     at 
>> akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:235)
>>     at java.lang.Thread.run(Thread.java:745)
>>
>> //======================== CLUSTER INVOKING PRESTART METHOD 
>> ==================================
>> //======================== CLUSTER PRESTART METHOD INVOKED 
>> ==================================
>> [INFO] [07/20/2017 19:41:15.520] 
>> [ClusterSystem-akka.actor.default-dispatcher-5] [akka.tcp://
>> [email protected]:2552/user/clusterListener] Message 
>> [java.lang.String] from Actor[akka://ClusterSystem/temp/$b] to 
>> Actor[akka.tcp://[email protected]:2552/user/clusterListener] was 
>> not delivered. [7] dead letters encountered. This logging can be turned off 
>> or adjusted with configuration settings 'akka.log-dead-letters' and 
>> 'akka.log-dead-letters-during-shutdown'.
>> [INFO] [07/20/2017 19:41:15.551] 
>> [ClusterSystem-akka.actor.default-dispatcher-5] 
>> [akka://ClusterSystem/deadLetters] Message 
>> [akka.cluster.InternalClusterAction$InitJoin$] from 
>> Actor[akka://ClusterSystem/system/cluster/core/daemon/joinSeedNodeProcess-1#1158725741]
>>  
>> to Actor[akka://ClusterSystem/deadLetters] was not delivered. [8] dead 
>> letters encountered. This logging can be turned off or adjusted with 
>> configuration settings 'akka.log-dead-letters' and 
>> 'akka.log-dead-letters-during-shutdown'.
>> [INFO] [07/20/2017 19:41:15.551] 
>> [ClusterSystem-akka.actor.default-dispatcher-5] 
>> [akka://ClusterSystem/deadLetters] Message 
>> [akka.cluster.InternalClusterAction$InitJoin$] from 
>> Actor[akka://ClusterSystem/system/cluster/core/daemon/joinSeedNodeProcess-1#1158725741]
>>  
>> to Actor[akka://ClusterSystem/deadLetters] was not delivered. [9] dead 
>> letters encountered. This logging can be turned off or adjusted with 
>> configuration settings 'akka.log-dead-letters' and 
>> 'akka.log-dead-letters-during-shutdown'.
>>
>> can anyone help to solve this error.
>>
>

-- 
>>>>>>>>>>      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