Could you please configure the same HA configurations for TaskManager as well? It seems that the TaskManager container does not use a correct URL when contacting with ResourceManager.
Best, Yang On Fri, Dec 29, 2023 at 11:13 PM Alessio Bernesco Làvore < alessio.berne...@gmail.com> wrote: > Hello, > i'm trying to setup a testing environment using: > > - Flink HA with Zookeeper > - Docker Compose > > While starting the TaskManager generates an exception and then after some > restarts if fails. > > The exception is: > "Caused by: org.apache.flink.runtime.rpc.exceptions.FencingTokenException: > Fencing token mismatch: Ignoring message > RemoteFencedMessage(00000000000000000000000000000000, > RemoteRpcInvocation(ResourceManagerGateway.registerTaskExecutor(TaskExecutorRegistration, > Time))) because the fencing token 00000000000000000000000000000000 did not > match the expected fencing token ad8c271c31d576247b6c93a5e4ac4da6." > > I'm unable to find any information, i've already posted a complete request > on StackOverlflow, with all the related information: > https://stackoverflow.com/questions/77689872/flink-ha-with-zookeeper-and-docker-compose-fencingtokenexception-fencing-token > > Any help would be appreciated. > > Greetings, > Alessio >