Sometimes when calling a service on kong you might get a response like this
HTTP/1.1 503 Service Temporarily Unavailable
Connection: keep-alive
Content-Length: 36
Content-Type: application/json; charset=utf-8
Date: Thu, 02 Apr 2020 09:28:06 GMT
Server: kong/2.0.1
X-Kong-Response-Latency: 12
{
"message": "name resolution failed"
}
What does it mean?
Kong cannot access the upstream.
- Make sure the correct protocol
http
orhttps
is used. - If the upstream’s TLS (SSL) HTTPS certificate cannot be verified then this response will be given.