Missing requests in Apigee Policy TLS

I have set up a one way tls in a policy with this config:

 

    <SSLInfo>
      <Enabled>false</Enabled>
      <ClientAuthEnabled>false</ClientAuthEnabled>
      <TrustStore>ref://give_your_truststore_reference</TrustStore>
    </SSLInfo>

 

This policy sends out a json request to a server I have set up every time I hit the API to which this policy is attached. The problem is that every time I hit the API, I don't get a request on my server. On an average 4 out of 9 calls to the API, I get a request on my server. When I checked with tcpdump I noticed that in the scenario of blank requests (the requests that didn't reach my server), the number of packets that were sent to my application's port were lesser than that of a normal request.

0 8 150
8 REPLIES 8

Can you try hitting the backend directly from Postman or Curl. This will narrow down the issue, if its on the backend server endpoint irrespective of source of the request.

Thanks.

My server is getting requests normally from Curl and Postman

Try the ServiceCallout policy to "https://mocktarget.apigee.net" check if the same problem exists. If this one work fine then its the issue on the network path from your Apigee instance to your desired ServiceCallout target endpoint.

No, I'm unable to see any requests made to "https://mocktarget.apigee.net"

Which Apigee platform your proxy is hosted? Apigee-X or Apigee Hybrid ?? The issue seems to be on the outbound connection from Apigee platform irrespective of target endpoint. 

we use apigee x

If a simple proxy in Apigee X is not able to make a outbound connection to an external mocktarget endpoint its an issue on your SaaS platform. I recommend you to open a support ticket to get this issue addressed asap. 

Thanks

Okay, thanks