These are chat archives for spring-cloud/spring-cloud

10th
Sep 2016
pradeepkusingh
@pradeepkusingh
Sep 10 2016 17:27
@dsyer : I am having issues while enabling ""eureka:
client:
healthcheck:
enabled: true
and seeing that healthc check url in eureka is relative not absolute and causing failure to use above. How can we ask Eureka to put absolute URL ?
pradeepkusingh
@pradeepkusingh
Sep 10 2016 18:00
already added this in yml : eureka.instance.status-page-url: "http://${eureka.hostname}/${management.context-path}/info",
eureka.instance.health-check-url: "http://${eureka.instance.hostname}/${management.context-path}/health
Dave Syer
@dsyer
Sep 10 2016 18:01
That should work
pradeepkusingh
@pradeepkusingh
Sep 10 2016 18:03

when i am querying eureka as eureka/apps , i still see relative url as : <statusPageUrl>/activation/info</statusPageUrl>

<healthCheckUrl>/activation/health</healthCheckUrl>

i restarted apps and make sure no duplicate entries of above proprties
/ env shows : eureka.client.healthcheck.enabled: true
Dave Syer
@dsyer
Sep 10 2016 18:05
Don't know then. If you can reproduce that with a simple sample I'd be happy to have a look (on Monday probably)
pradeepkusingh
@pradeepkusingh
Sep 10 2016 18:05
sure. let me put something. we are in cloud foundry and hope that should not make any difference
using mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Brixton.SR4'
for eureka and clients are in AngelSr4
Dave Syer
@dsyer
Sep 10 2016 18:08
Probably a good idea to upgrade everything
At least the latest SR
pradeepkusingh
@pradeepkusingh
Sep 10 2016 18:09
sure, will try , this is prod live and might take long time.
Dave Syer
@dsyer
Sep 10 2016 18:10
There were some issues with mixing server and client versions
I think some of them are still resolved but unreleased
pradeepkusingh
@pradeepkusingh
Sep 10 2016 18:10
ok.. I will try to upgrade and then test it again,. Thanks for help :)