Hi everyone,
I hope some of you can guide me with timeout on some api call.
I have this configuration:
<api name="example" port="80">
<path>/testapi</path>
<response>
<beautifier />
</response>
<httpClient>
<httpClientConfig maxRetries="1">
<connection timeout="30000" />
<authentication username="username" password="password"/>
</httpClientConfig>
</httpClient>
<target url="
https://some.example.biz"/>
</api>
Problem is that timeout is not working as expected. It does not return some gateway error or else after 30 seconds.
What I am doing wrong ?
Thanks in advance.