1

In the official documentation, it is set to None. What does None means?

enter image description here

  • 300 seconds (5 mins) – Mo Haidar May 02 '22 at 03:14
  • @MohamadHaidar max is 240 so how can default be 300? I guess its 30 sec – Imgane5h Sep 08 '22 at 10:46
  • 240 is the loadbalancer default tcp timeout not the http request default timeout and that is why they mention that the request may not get respected after waiting for a response for 240 seconds. At the end, apim is an app deployed to a vm behind a loadbalancer. – Mo Haidar Sep 10 '22 at 22:45

2 Answers2

0

I believe that the default timeout in forward-request set to none is not the no timeout.

As Specified in the same official documentation, forward-request is a root element and the required in the operation level policy.

Any value greater than 240 seconds won't be reliable and it can timeout within the range of 0 to 240 seconds, and the fix of timeout issue can be like changing the implementation a bit if that's in your control based on the number of requests forwarded by APIM gateway or backend instances or due to proxy response time.

0

enter image description here

Documentation shows 300 default but max is 240 seconds. I got timeout after 30 second so I believe it is a mistake in docs. Default should be 30 seconds.

Imgane5h
  • 304
  • 1
  • 3
  • 16