I am using Eureka for service discovery, and I am running multiple instances of microservices on several machines. One particular is taking a lot of time to register itself to Eureka. I am not sure what is causing this delay. There is no firewall blocking or network delay between the microservice and the eureka service.
I see microservice getting struck while initializing (see below the log lines) for a couple of minutes(>4mins), and it proceeds further.
[INFO] 2022-06-03 11:49:11,456 [main]  org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver.<init> - Exposing 17 endpoint(s) beneath base path '/actuator' [INFO] 2022-06-03 11:49:11,520 [main]  org.springframework.cloud.netflix.eureka.InstanceInfoFactory.create - Setting initial instance status as: STARTING
Is it possible to debug why registration is taking a long time?