【问题标题】:Akka docker remote cluster setupAkka docker 远程集群设置
【发布时间】: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


【解决方案1】:

我有同样的错误。也许可以帮助你。 在配置中,remote.netty.tcp.hostname="localhost"。但是,我使用 url:akka.tcp://HelloRemoteSystem@127.0.0.1:5150/user/RemoteActor 连接远程服务器。更正后,错误消失。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-04-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多