# Remoting configuration
app { host = ${?APP_HOST} akka { port = 11112 }}akka {
loglevel = DEBUG
jvm-exit-on-fatal-error = false
log-dead-letters = 1
actor {
provider = "akka.remote.RemoteActorRefProvider"
}
remote {
enabled-transports = ["akka.remote.netty.tcp"]
netty.tcp {
hostname = ""
port = ${?app.akka.port}
bind-hostname = ${?app.host}
bind-port = ${?app.akka.port}
}
}
}[DEBUG] [09/08/2015 16:54:22.909] [application-akka.remote.default-remote-dispatcher-8] [Remoting] Associated [akka.tcp://appli...@10.0.2.23:11112] <- [akka.tcp://appli...@10.0.2.23:11120]
[ERROR] [09/08/2015 16:54:22.925] [application-akka.remote.default-remote-dispatcher-7] [akka.tcp://appli...@10.0.2.23:11112/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fapplication%4010.0.2.23%3A11120-1/endpointWriter] dropping message [class akka.actor.ActorSelectionMessage] for non-local recipient [Actor[akka.tcp://appli...@centralapp-core.marathon.mesos:11112/]] arriving at [akka.tcp://appli...@centralapp-core.marathon.mesos:11112] inbound addresses are [akka.tcp://appli...@10.0.2.23:11112]Hi guys,We're a young startup and we decided to stick with Akka for our production deployments. But we recently ran into a minefield of problems trying to set up our Akka applications on our new Mesosphere cluster where we use Marathon to deploy and run applications inside Docker containers.I've really run out of options at this time and this is my remoting configuration:# Remoting configurationapp {host = ${?APP_HOST}akka {port = 11112}}akka {
loglevel = DEBUG
jvm-exit-on-fatal-error = false
log-dead-letters = 1
actor {
provider = "akka.remote.RemoteActorRefProvider"
}
remote {
enabled-transports = ["akka.remote.netty.tcp"]
netty.tcp {
hostname = ""
port = ${?app.akka.port}
bind-hostname = ${?app.host}
bind-port = ${?app.akka.port}
}
}
}When other remote actors `ask` an actor remotely, this is what I see in my logs:
[DEBUG] [09/08/2015 16:54:22.909] [application-akka.remote.default-remote-dispatcher-8] [Remoting] Associated [akka.tcp://application@10.0.2.23:11112] <- [akka.tcp://application@10.0.2.23:11120]
[ERROR] [09/08/2015 16:54:22.925] [application-akka.remote.default-remote-dispatcher-7] [akka.tcp://application@10.0.2.23:11112/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fapplication%4010.0.2.23%3A11120-1/endpointWriter] dropping message [class akka.actor.ActorSelectionMessage] for non-local recipient [Actor[akka.tcp://application@centralapp-core.marathon.mesos:11112/]] arriving at [akka.tcp://application@centralapp-core.marathon.mesos:11112] inbound addresses are [akka.tcp://application@10.0.2.23:11112]
Hi guys,We're a young startup and we decided to stick with Akka for our production deployments. But we recently ran into a minefield of problems trying to set up our Akka applications on our new Mesosphere cluster where we use Marathon to deploy and run applications inside Docker containers.I've really run out of options at this time and this is my remoting configuration:# Remoting configurationapp {host = ${?APP_HOST}akka {port = 11112}}akka {
loglevel = DEBUG
jvm-exit-on-fatal-error = false
log-dead-letters = 1
actor {
provider = "akka.remote.RemoteActorRefProvider"
}
remote {
enabled-transports = ["akka.remote.netty.tcp"]
netty.tcp {
hostname = ""
port = ${?app.akka.port}
bind-hostname = ${?app.host}
bind-port = ${?app.akka.port}
}
}
}When other remote actors `ask` an actor remotely, this is what I see in my logs:
[DEBUG] [09/08/2015 16:54:22.909] [application-akka.remote.default-remote-dispatcher-8] [Remoting] Associated [akka.tcp://application@10.0.2.23:11112] <- [akka.tcp://application@10.0.2.23:11120]
[ERROR] [09/08/2015 16:54:22.925] [application-akka.remote.default-remote-dispatcher-7] [akka.tcp://application@10.0.2.23:11112/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fapplication%4010.0.2.23%3A11120-1/endpointWriter] dropping message [class akka.actor.ActorSelectionMessage] for non-local recipient [Actor[akka.tcp://application@centralapp-core.marathon.mesos:11112/]] arriving at [akka.tcp://application@centralapp-core.marathon.mesos:11112] inbound addresses are [akka.tcp://application@10.0.2.23:11112]
--
>>>>>>>>>> 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+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "Akka User List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/akka-user/Myn-Pug4Wbg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to akka-user+...@googlegroups.com.
Thank you for your time Endre.Well, in my opinion, that is something that needs to be documented. Because in my answering actor, I was using `sender()` to reply back. In this case, the use of the word `sender` implies that some reference to the actual actor that sent the message is maintained, whereas, it isn’t.