簡體   English   中英

Akka docker遠程集群設置

[英]Akka docker remote cluster setup

連接到遠程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]為非本地收件人[Actor [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集群的任何幫助。

提前謝謝了

我有同樣的錯誤。 也許可以幫助您。 在配置中, remote.netty.tcp.hostname =“ localhost” 但是,我使用URL:akka.tcp:// HelloRemoteSystem @ 127.0.0.1:5150 / user / RemoteActor連接遠程服務器。 糾正后,錯誤消失。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM