Hi:
I’m pretty sure I have SD with eureka configured properly, but I’m getting a 503 “all hosts are down” message whenever I try to access my service.
The gateway error logs are showing:
My Query endpoint returns the following JSON, which shows the status as “UP”:
{
“application”: {
“name”: “my-application”,
“instance”: [
{
“instanceId”: “myhost.com:my-application:9595”,
“hostName”: “myhost.com”,
“app”: “my-application”,
“ipAddr”: “1.2.3.4”,
“status”: “UP”,
“overriddenstatus”: “UNKNOWN”,
“port”: {
“$”: 9595,
“@enabled”: “true”
},
“securePort”: {
“$”: 443,
“@enabled”: “false”
},
“countryId”: 1,
“dataCenterInfo”: {
“@class”: “com.netflix.appinfo.InstanceInfo$DefaultDataCenterInfo”,
“name”: “MyOwn”
},
“leaseInfo”: {
“renewalIntervalInSecs”: 30,
“durationInSecs”: 90,
“registrationTimestamp”: 1515736282704,
“lastRenewalTimestamp”: 1515974134182,
“evictionTimestamp”: 0,
“serviceUpTimestamp”: 1515736282704
},
“metadata”: {
“management.port”: “9595”
},
“homePageUrl”: “http://myhost.com:9595/”,
“statusPageUrl”: “http://myhost.com:9595/info”,
“healthCheckUrl”: “http://myhost.com:9595/health”,
“vipAddress”: “my-application”,
“secureVipAddress”: “my-application”,
“isCoordinatingDiscoveryServer”: “false”,
“lastUpdatedTimestamp”: “1515736282704”,
“lastDirtyTimestamp”: “1513563166754”,
“actionType”: “ADDED”
},
{
“instanceId”: “myhost.com:my-application:9595”,
“hostName”: “myhost.com”,
“app”: “my-application”,
“ipAddr”: “1.2.3.5”,
“status”: “UP”,
“overriddenstatus”: “UNKNOWN”,
“port”: {
“$”: 9595,
“@enabled”: “true”
},
“securePort”: {
“$”: 443,
“@enabled”: “false”
},
“countryId”: 1,
“dataCenterInfo”: {
“@class”: “com.netflix.appinfo.InstanceInfo$DefaultDataCenterInfo”,
“name”: “MyOwn”
},
“leaseInfo”: {
“renewalIntervalInSecs”: 30,
“durationInSecs”: 90,
“registrationTimestamp”: 1515736282704,
“lastRenewalTimestamp”: 1515974151246,
“evictionTimestamp”: 0,
“serviceUpTimestamp”: 1515736282704
},
“metadata”: {
“management.port”: “9595”
},
“homePageUrl”: “http://myhost.com:9595/”,
“statusPageUrl”: “http://myhost.com:9595/info”,
“healthCheckUrl”: “http://myhost.com:9595/health”,
“vipAddress”: “my-application”,
“secureVipAddress”: “my-application”,
“isCoordinatingDiscoveryServer”: “false”,
“lastUpdatedTimestamp”: “1515736282704”,
“lastDirtyTimestamp”: “1513235040406”,
“actionType”: “ADDED”
}
]
}
}
Has anyone ever come across this?
I’m on gateway 2.4.2 and Dashboard 1.4.2