Open sridhar1982 opened 9 years ago
I also faced similar issue in my local. Interesting thing is when I started the photo-service in debug mode and waited for sometime in a debug point, it started successfully. I kept the debug point in discoveryClient.getInstances("photo-service") line.
I cloned this git repo. I did mvn clean install in the top-level project
and executed the following commands in order
java -jar eureka-service.jar
java -jar bookmark-service.jar
java -jar photo-service.jar
java -jar passport-service.jar
bookmark-service and photo-service registers sucessfully with Eureka. I can confirm this with logs and the
Eueka UI
that lists all instances registered with Eureka.However, passport-service registration fails. Here are the logs:
output in passport-service log:
output in Eureka-service log:
After I shutdown photo-service, I see the following error in
I also tried running
mvn spring-boot:run
in each of the modules in same order above. I still see passport-service not registering with Eureka.