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

18th
Jan 2019
D D
@dosdebug
Jan 18 08:26
Hello, I am trying to register 2 services with Dicovery spring-cloud-starter-eureka-server one is gateway and the other is auth. Gateway is being configured properly with Eureka with status UP but when auth starts, it configures as DOWN on Eureka, can anyone help what I may be doing wrong?
This is the log Registered instance AUTH/auth:58eae30e90783ad859fe5013434404e2 with status DOWN (replication=false)
D D
@dosdebug
Jan 18 09:14
Using Cloud Dalston.SR3
ManuelDeveloper
@manueldeveloper
Jan 18 09:38
@dosdebug Have you checked that your auth service is exposing "/health" end-point?
D D
@dosdebug
Jan 18 09:41
@manueldeveloper Let me check
D D
@dosdebug
Jan 18 09:48
@manueldeveloper It’s a Spring Security service, and no it’s not exposing /health endpoint
Even if I add actuator, it still is not
D D
@dosdebug
Jan 18 09:57
@manueldeveloper It’s enabled but password protected
D D
@dosdebug
Jan 18 11:25
I have disabled health check on eureka. Not sure if it’s the right approach
Tomasz Juchniewicz
@tjuchniewicz
Jan 18 11:40
@dosdebug Please see following ticket: spring-cloud/spring-cloud-netflix#1158
I have similar issue in my setup
Deepak Shakya
@divinedragon
Jan 18 14:44
@spencergibb Is there any documentation for spring.cloud.refresh.refreshables?
I don't see this documented anywhere
Spencer Gibb
@spencergibb
Jan 18 16:31
@divinedragon I didn't see any yesterday. I know there is for extra-refreshables.
Deepak Shakya
@divinedragon
Jan 18 17:06
You suggested this on this stackoverflow question and it was working for me. Just wanted to get more details on it.