1
votes

I am developing a service using Akka clustering but I am getting these warnings when my program is running. I have an 8 node Akka cluster. Can anyone help me in solving this errors :

[WARN] [06/07/2018 15:08:51.923] [ClusterSystem-akka.remote.default-remote-dispatcher-18] [akka.tcp://[email protected]:2552/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40192.168.2.7%3A2552-8] Association with remote system [akka.tcp://[email protected]:2552] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://[email protected]:2552]] Caused by: [No response from remote for outbound association. Handshake timed out after [15000 ms].]

[WARN] [06/07/2018 16:07:06.347] [ClusterSystem-akka.actor.default-dispatcher-101] [akka.remote.PhiAccrualFailureDetector@3895fa5b] heartbeat interval is growing too large: 2839 millis

1

1 Answers

0
votes

You will get these kind of errors when your HostIP is not matching with the configured seed nodes.

Also check your akka.remote configuration

  remote {
    log-remote-lifecycle-events = on
    netty.tcp {
      bind-hostname = 0.0.0.0
      bind-port = ${hostport}

      hostname = ${hostip}
      port = ${hostport}
    }
  }

The hostname should match with your HostIP.