How to resolve "Unable to identify proxy for host ..." error ?

I am getting the below error when I try to run my API:

{
    "fault": {
        "detail": {
            "errorcode": "messaging.adaptors.http.configuration.ApplicationNotFound"
        },
        "faultstring": "Unable to identify proxy for host: <org>-<env>.apigee.net:10650 and url: \/v1\/profile"
    }
}

I have ensured that the proxy is setup for https protocol, Proxy Endpoint and Target Endpoints are setup properly. How can I resolve this error ?

Solved Solved
0 1 10.6K
1 ACCEPTED SOLUTION

The host string in the error message indicated that port # where we are listening is 10650. So I checked the following:

  1. Virtual Host configuration for secure calls (https_host). It was configured for port # 10649.
  2. ELB Configuration for secure calls (HTTPS). It was configured for incoming port 443 and router port as 10650.

The host string in the error message basically refers to the router port # from the ELB. Since there’s a mismatch between the ELB port configuration and virtual host port configuration we were seeing this issue.

Solution:

  1. Modified the virtual host (https_host) to point to the port # 10650
  2. Underplayed and Deployed the Proxy again

With this change, I was able to make the API call without any errors.

View solution in original post

1 REPLY 1

The host string in the error message indicated that port # where we are listening is 10650. So I checked the following:

  1. Virtual Host configuration for secure calls (https_host). It was configured for port # 10649.
  2. ELB Configuration for secure calls (HTTPS). It was configured for incoming port 443 and router port as 10650.

The host string in the error message basically refers to the router port # from the ELB. Since there’s a mismatch between the ELB port configuration and virtual host port configuration we were seeing this issue.

Solution:

  1. Modified the virtual host (https_host) to point to the port # 10650
  2. Underplayed and Deployed the Proxy again

With this change, I was able to make the API call without any errors.