Hi All,
I am facing an issue with the Invoke policy timeout configuration in IBM API Connect.
I have configured the Invoke policy with a 5-second timeout. However, when the backend takes more than 5 seconds to respond, the API does not return a timeout error and continues to wait for the backend response.
The current Invoke policy configuration is:
- invoke:
title: invoke
version: 2.0.0
verb: POST
target-url: $(url)
follow-redirects: false
timeout: 5
parameter-control:
type: allowlist
values: []
header-control:
type: blocklist
values: []
inject-proxy-headers: true
persistent-connection: true
chunked-uploads: true
backend-type: xml
cache-response: no-cache
stop-on-error:
- ConnectionError
I have also attached the API Analytics screenshot showing the request execution details.
Note:
DataPower Version: 10.5.0.7
API Connect Version: 10.0.5.5
Please suggest me the solution to over come above problem
------------------------------
Anusha Pudari
------------------------------
------------------------------
Anusha Pudari
------------------------------