Spring boot version : 1.5.7.Release Spring Cloud version : Dalston.SR4
I'm testing zuul server with ribbon and I don't want to Eureka
I have added the following configuration in zuul server.
#application.properties
spring.application.name= gateway
server.port=8089
eureka.client.enabled=false
ribbon.eureka.enabled=false
zuul.ignored-services= "*"
zuul.routes.sample-service.path=/samples/**
zuul.routes.sample-service.serviceId=sample-service
zuul.routes.sample-service.stripPrefix=false
zuul.routes.sample-service.retryable=true
zuul.routes.retryable=true
zuul.retryable=true
sample-service.ribbon.listOfServers= localhost:8081,localhost:8085
sample-service.ribbon.eureka.enabled= false
sample-service.ribbon.ServerListRefreshInterval= 100
sample-service.ribbon.retryableStatusCodes= 500
sample-service.ribbon.MaxAutoRetries= 0
sample-service.ribbon.MaxAutoRetriesNextServer= 1
sample-service.ribbon.OkToRetryOnAllOperations= true
sample-service.ribbon.ReadTimeout= 10000
sample-service.ribbon.ConnectTimeout= 10000
sample-service.ribbon.EnablePrimeConnections= true
zuul.ribbon-isolation-strategy=thread
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds= 30000
Question
Nomally zuul server is working well, but one of server is shutting down then response returned as following message. What is the debugging point in this case?
{
"timestamp": 1510040524144,
"status": 500,
"error": "Internal Server Error",
"exception": "com.netflix.zuul.exception.ZuulException",
"message": "TIMEOUT"
}