Hello,
I have a problem with Axon server which is deployed on Aws ECS. Initial deployment went without any particular problems, but as soon as the task is redeployed if the address is changed the internal hostname also changes, and axon starts complaining about changed name and it has to be started with recovery file.
December 09, 2024 at 13:55 (UTC+1:00)
2024-12-09 12:55:13.863 ERROR 1 --- [ main] i.a.a.e.cluster.ClusterController : Current node name has changed, new name ip-172-31-23-207. Start AxonServer with recovery file.
December 09, 2024 at 13:55 (UTC+1:00)
2024-12-09 12:55:13.765 INFO 1 --- [ main] i.a.a.e.c.i.MessagingClusterServer : Axon Server Cluster Server started on port: 8224 - no SSL
December 09, 2024 at 13:55 (UTC+1:00)
2024-12-09 12:55:00.151 INFO 1 --- [ main] io.axoniq.axonserver.AxonServer : Axon Server version 2023.2.0
December 09, 2024 at 13:54 (UTC+1:00)
2024-12-09 12:54:54.556 WARN 1 --- [ main] o.f.core.internal.command.DbMigrate : outOfOrder mode is active. Migration of schema "PUBLIC" may not be reproducible.
December 09, 2024 at 13:54 (UTC+1:00)
2024-12-09 12:54:52.167 WARN 1 --- [ main] i.a.a.c.MessagingPlatformConfiguration : Ignoring domain part of the hostname 'ip-172-31-23-207.eu-central-1.compute.internal': hostname=ip-172-31-23-207, domain=eu-central-1.compute.internal
AWS documentation states that I cannot set fixed internal hostname if deployment type is FARGATE. Is there any other way to avoid this problem?