[akka-user] Akka EC2 remoting

2015-04-05 Thread Stefan Schmidt
Hi guys,


We have setup an Akka cluster in EC2 following the setup described here 
. The 
main purpose is to use it for creating cluster singletons to perform a 
number of batch tasks. We also use Websocket support in Play framework 
backed by Actors.

All works well, except we see a large number of warn messages which concern 
me.

[WARN] - from akka.remote.ReliableDeliverySupervisor in 
application-akka.actor.default-dispatcher-7
Association with remote system [akka.tcp://akka-ec2@127.0.0.1:2551] has 
failed, address is now gated for [5000] ms. Reason is: [Association failed 
with [akka.tcp://akka-ec2@127.0.0.1:2551]].

The akka configuration we use is fairly straight foward
akka {
  actor {
provider = "akka.cluster.ClusterActorRefProvider"
debug {
  lifecycle = off
  router-misconfiguration = on
  unhandled = on
}
  }
  remote {
log-remote-lifecycle-events = off
netty.tcp {
  hostname = ""
  port = 0
}
log-received-messages = on
log-sent-messages = on
transport-failure-detector {
  heartbeat-interval = 8 s   # default 4s
  acceptable-heartbeat-pause = 12 s  # default 10s
}
  }
  cluster {
seed-nodes = ["akka.tcp://akka-ec2@127.0.0.1:2551"]
auto-down-unreachable-after = 10s
retry-unsuccessful-join-after = off
roles = ["worker"]
  }
  log-config-on-start = off
  log-dead-letters = 10
  log-dead-letters-during-shutdown = on
  loggers = ["akka.event.slf4j.Slf4jLogger"]//, 
"akka.event.Logging$DefaultLogger"]
  loglevel = DEBUG

  stdout-loglevel=DEBUG
}

Any ideas why we see these warn messages (one every 5 seconds per node)? 

Thanks,
Stefan


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


[akka-user] Akka EC2 remoting

2015-04-06 Thread Jim Hazen
Looks like you're trying to connect to a seed that isn't available. Be sure 
that your remote.netty.tcp host and port settings match your seed node setting. 
 They don't seem to here.

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