APIGEE CONSOLE and TARGET SERVERS

Not applicable

Hi,

When I try to access "https://stg.printopt.org/api/aaa/v1/admin/status" from APIGEE console i am getting 404 error , and same scenario when try to do the same from a api proxy code also.

But the same URL "https://stg.printopt.org/api/aaa/v1/admin/status" I can access it using any other rest client

0 3 388
3 REPLIES 3

Not applicable

@krishna.prasadm, check the target request that is being sent in the trace, may be request path suffix is being added to your target request.

Not applicable

The issue I found is apigee is adding X-Forwarded-For headers which giving problem in target servers, and Apigee is adding no-routable IPs as part of X-Forwarded for. and disable setting for X-Forwarded seems not working

<ProxyEndpoint name="default">

<HTTPProxyConnection>

<LoadBalancer> <Server name="ts-instance-platform-https"/> </LoadBalancer>

<Property name="rX-Forwarded-For">false</Property>

Try remove headers before you send the request to backend, refer this for more information

http://apigee.com/docs/api-services/reference/assign-message-policy @krishna.prasadm