Forward Request in API Management not working in Basic Tier but works in Consumption

Robert Heynen 0 Reputation points
2024-08-01T22:54:03.4+00:00

I am using the API Management "Forward-Request" policy to extend the time out beyond the default 100 seconds.  I have three environments - stage, train and live. In Stage and Train, the extended time out works by placing the policy appropriately in the "All Operations" section of the APIS.  Both these environments are on the consumption tier.

When doing the same exact thing in our Live Environment, which is set to Basic Tier, the policy does not work. 

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,446 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Adharsh Santhanam 6,015 Reputation points Volunteer Moderator
    2024-08-02T04:47:39.0666667+00:00

    Hello Robert Heynen, the timeout attribute of the forward request policy documentation mentions that values greater than 240 seconds may not be honored, because the underlying network infrastructure can drop idle connections after this time. So, try setting a shorter timeout to see if the policy works as expected in both the scenarios. Also, in the Consumption tier, the timeout settings might be more flexible or have different default behaviors compared to the Basic tier. This might emanate from the fact that the Consumption tier is mainly designed for serverless and event-driven workloads, which might inherently support longer timeouts better than the Basic tier. You can try putting in a support ticket with Microsoft if the issue persists.

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.