Upstream timed out (110: Connection timed out) while reading response header from upstream

Hi I am getting below error while connecting to host"**.com"

2020/06/08 16:26:23 [error] 64#0: *44664 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.0.103, server: kong, request: “GET /ces/api/v2.0/reporting/mail_safeprint_details?device_type=esa&endDate=2020-06-08T00:00:00.000Z&startDate=2020-06-03T00:00:00.000Z HTTP/1.1”, upstream: “https://10.10.2.130:4431/sma/api/v2.0/reporting/mail_safeprint_details?device_type=esa&endDate=2020-06-08T00:00:00.000Z&startDate=2020-06-03T00:00:00.000Z”, host: “portal.dev.ces.cisco.com” 2020/06/08 16:26:23 [error] 64#0: *44664 [lua] balancer.lua:900: balancer_execute(): DNS resolution failed: dns server error: 100 cache only lookup failed. Tried: ["(short)dh002-sma1.pcloud26.ces.cisco.com:(na) - cache-miss",“dh002-sma1.pcloud26.ces.cisco.com.ces.svc.dev.k8s.pcloud26.ces.cisco.com:1 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com.svc.dev.k8s.pcloud26.ces.cisco.com:1 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com.dev.k8s.pcloud26.ces.cisco.com:1 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com.cisco.com:1 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com:1 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com.ces.svc.dev.k8s.pcloud26.ces.cisco.com:33 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com.svc.dev.k8s.pcloud26.ces.cisco.com:33 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com.dev.k8s.pcloud26.ces.cisco.com:33 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com.cisco.com:33 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com:33 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com.ces.svc.dev.k8s.pcloud26.ces.cisco.com:5 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com.svc.dev.k8s.pcloud26.ces.cisco.com:5 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com.dev.k8s.pcloud26.ces.cisco.com:5 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com.cisco.com:5 - cache only lookup failed/dns server error: 100 cache only lookup failed”,“dh002-sma1.pcloud26.ces.cisco.com:5 - cache only lookup failed/dns server error: 100 cache only lookup failed”] while connecting to upstream, client: 192.168.0.103, server: kong, request: “GET /ces/api/v2.0/reporting/mail_safeprint_details?device_type=esa&endDate=2020-06-08T00:00:00.000Z&startDate=2020-06-03T00:00:00.000Z HTTP/1.1”, upstream: “https://10.10.2.130:4431/sma/api/v2.0/reporting/mail_safeprint_details?device_type=esa&endDate=2020-06-08T00:00:00.000Z&startDate=2020-06-03T00:00:00.000Z”, host: “portal.dev.ces.cisco.com” 2020/06/08 16:26:23 [error] 64#0: *44664 [lua] init.lua:804: balancer(): failed to retry the dns/balancer resolver for dh002-sma1.pcloud26.ces.cisco.com’ with: dns server error: 100 cache only lookup failed while connecting to upstream, client: 192.168.0.103, server: kong, request: “GET /ces/api/v2.0/reporting/mail_safeprint_details?device_type=esa&endDate=2020-06-08T00:00:00.000Z&startDate=2020-06-03T00:00:00.000Z HTTP/1.1”, upstream: “https://10.10.2.130:4431/sma/api/v2.0/reporting/mail_safeprint_details?device_type=esa&endDate=2020-06-08T00:00:00.000Z&startDate=2020-06-03T00:00:00.000Z”, host: "

we tried setting the

KONG_NGINX_HTTP_UPSTREAM_KEEPALIVE_TIMEOUT=300s

KONG_DNS_NO_SYNC = on

KONG_DNS_STALE_TTL = 60s

Please help me to resolve this.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ