Timeout not work as expected.

31 views
Skip to first unread message

Cristian Musat

unread,
Sep 24, 2024, 4:41:18 AM9/24/24
to membrane-monitor
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.
Reply all
Reply to author
Forward
0 new messages