【发布时间】:2017-08-04 12:51:53
【问题描述】:
我在连接到远程 docker 集群时遇到问题。我确实提供了 bind.port 和 bind.hostname。不过,我在服务器端遇到以下错误。
[错误] [08/04/2017 12:36:34.623] [SereverApplication-akka.remote.default-remote-dispatcher-6] [akka://SereverApplication/system/endpointManager/reliableEndpointWriter-akka.tcp% 3A%2F%2FClientApplication%4010.0.75.1%3A2553-0/endpointWriter] 为非本地收件人 [Akka.tcp://SereverApplication@127.0.0.1:2552/] 丢弃消息 [class akka.actor.ActorSelectionMessage]到达 [akka.tcp://SereverApplication@127.0.0.1:2552] 入站地址是 [akka.tcp://SereverApplication@172.17.0.2:2552]
从错误中我可以看到消息正在从客户端发送到服务器参与者。但是,服务器子角色无法响应客户端。任何帮助将不胜感激。我在以下 github 位置有代码。
https://github.com/thedatatechie/akka_remote_actor
Dockerfile 也放置在根文件夹中。请使用它来帮助设置具有单节点的 docker 集群。
在此先感谢
【问题讨论】:
标签: docker client akka cluster-computing remote-server