akka / akka-management

Akka Management is a suite of tools for operating Akka Clusters.
https://doc.akka.io/docs/akka-management/
Other
254 stars 160 forks source link

EC2 tag based integration test #1176

Closed Hamza442 closed 1 year ago

Hamza442 commented 1 year ago

I am following the instruction that are mentioned here : https://github.com/akka/akka-management/tree/main/integration-test/aws-api-ec2

I am able to everything successfully but when I run application I am getting below mentioned error, I have two ec2 instances and that the node that doesn't join it self to form the cluster is giving me the below mentioned warning and the two nodes are not able to join which are running on two separate machines.

WARN] [07/07/2023 07:47:38.653] [abc-akka.remote.default-remote-dispatcher-9] [akka.stream.Log(akka://abc/system/Materializers/StreamSupervisor-1)] [outbound connection to [akka://abc@172.31.00.186:25520], message stream] Upstream failed, cause: StreamTcpException: Tcp command [Connect(172.31.00.186:25520,None,List(),Some(5000 milliseconds),true)] failed because of akka.io.TcpOutgoingConnection$$anon$2: Connect timeout of Some(5000 milliseconds) expired [WARN] [akkaJoinFailed][07/07/2023 07:47:43.662] [abc-akka.actor.internal-dispatcher-2] [Cluster(akka://abc)] Cluster Node [akka://abc@988.31.94.41:25520] - Couldn't join seed nodes after [894] attempts, will try again. seed-nodes=[akka://abc@172.31.00.186:25520] [WARN] [akkaJoinFailed][07/07/2023 07:47:48.672] [abc-akka.actor.internal-dispatcher-4] [Cluster(akka://abc)] Cluster Node [akka://abc@988.31.94.41:25520] - Couldn't join seed nodes after [895] attempts, will try again. seed-nodes=[akka://abc@172.31.00.186:25520] [WARN] [07/07/2023 07:47:53.652] [abc-akka.remote.default-remote-dispatcher-7] [Association(akka://abc)] Outbound message stream to [akka://abc@172.31.00.186:25520] failed. Restarting it. akka.remote.artery.OutboundHandshake$HandshakeTimeoutException: Handshake with [akka://abc@172.31.00.186:25520] did not complete within 20000 ms

johanandren commented 1 year ago

Hi Hamza442, we try to use the issue trackers for tracking features and bugs, for usage questions like this, please use the forums over at https://discuss.akka.io