These are chat archives for spring-cloud/spring-cloud
The only thing I see when things go wrong in the more complex project, is that after the EurekaClient is wired in, a call is made to register the app as STARTING in Eureka. At this point the port hasn’t been set and so it’s registering with incomplete date:
2017-11-03 13:26:11.137 INFO 39061 --- [ main] c.v.m.c.z.c.ZipkinConfig : Creating ZipkinSpanReporter @ Highest 2017-11-03 13:26:11.150 INFO 39061 --- [ main] o.s.c.n.e.InstanceInfoFactory : Setting initial instance status as: STARTING
whereas when it works, the registration doesn’t happen until later, when the port has been defned etc and as such the homePageURL value is correct with the right port.
org.springframework.cloud.client.discovery.DiscoveryClientand it works