[cluster] why Connection refused.

192 views
Skip to first unread message

2817...@qq.com

unread,
Jul 22, 2016, 5:35:17 AM7/22/16
to Akka User List
two nodes are cluster, but when starting , they all are following log:

07-21-16:23:01 2016-07-21 16:23:01,391 | WARN  | lt-dispatcher-16 | ReliableDeliverySupervisor       | 167 - com.typesafe.akka.slf4j - 2.3.10 | Association with remote system [akka.tcp://opendaylight...@172.18.118.42:2550] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://opendaylight...@172.18.118.42:2550]] Caused by: [Connection refused: /172.18.118.42:2550]


07-21-16:23:04 2016-07-21 16:23:04,541 | WARN  | ult-dispatcher-4 | ReliableDeliverySupervisor       | 167 - com.typesafe.akka.slf4j - 2.3.10 | Association with remote system [akka.tcp://opendaylight...@172.18.118.43:2550] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://opendaylight...@172.18.118.43:2550]] Caused by: [Connection refused: /172.18.118.43:2550]

 "seed-nodes" : [ "akka.tcp://opendaylight...@172.18.118.42:2550",
              "akka.tcp://opendaylight...@172.18.118.43:2550" ]

That could be some reason? Thanks.


Johan Andrén

unread,
Jul 23, 2016, 3:58:37 AM7/23/16
to Akka User List
There is not enough information to say anything certain about your problem. "Connection refused" means there is a route to that host but it was not possible to connect to the given port, it could for example be because of a internal firewall or a firewall between the systems, or if you use docker that the port you bind to is internal and maps to another port number on the actual network.

--
Johan


On Friday, July 22, 2016 at 11:35:17 AM UTC+2, 2817...@qq.com wrote:
two nodes are cluster, but when starting , they all are following log:

07-21-16:23:01 2016-07-21 16:23:01,391 | WARN  | lt-dispatcher-16 | ReliableDeliverySupervisor       | 167 - com.typesafe.akka.slf4j - 2.3.10 | Association with remote system [akka.tcp://opendaylight-cluste...@172.18.118.42:2550] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://opendaylight-cluste...@172.18.118.42:2550]] Caused by: [Connection refused: /172.18.118.42:2550]


07-21-16:23:04 2016-07-21 16:23:04,541 | WARN  | ult-dispatcher-4 | ReliableDeliverySupervisor       | 167 - com.typesafe.akka.slf4j - 2.3.10 | Association with remote system [akka.tcp://opendaylight-cluste...@172.18.118.43:2550] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://opendaylight-cluste...@172.18.118.43:2550]] Caused by: [Connection refused: /172.18.118.43:2550]

 "seed-nodes" : [ "akka.tcp://opendaylight-cluste...@172.18.118.42:2550",
              "akka.tcp://opendaylight-cluste...@172.18.118.43:2550" ]
Reply all
Reply to author
Forward
0 new messages