For the azure infra VM servers we have installed Kong API gateway and trying to configure service routes using DNS names.
When we configure service route using DNS names we are getting error message (“message”:“An invalid response was received from the upstream server”) with 502 bad gateway status code. But this issue is not faced when we are using the IP address for service/route in kong.
We are facing this issue only for the new Kong setup on Azure infrastructure, but this issue is not there for our kong setup in GCP (Google cloud) infra setup.
Attached screenshot for the details.
Please support/help on this.