What is the maximum timeout value in Azure APIM policy? #121
Replies: 2 comments 3 replies
-
Is it possible to increase the timeout value at the APIM policy level to prevent the gateway timeout error? |
Beta Was this translation helpful? Give feedback.
-
Hi @Panchadurga, I am not positive I am fully understanding your question. If you are setting the While a maximum of 300 seconds exists, the underlying networking infrastructure will almost certainly time out requests just shy of 240 seconds. This is an Azure-wide configuration and not something you can increase. Can you tell me what your use case is for a long-running request, please? I might be able to make some suggestions if I have more knowledge. Also, is Azure APIM the first hop in the call chain or do you have an Azure App Gateway, Azure Front Door, etc. between Azure APIM and the caller? |
Beta Was this translation helpful? Give feedback.
-
I have set the APIM timeout policy in the backend section to 60 seconds. I am facing an issue where a client who is calling my APIM endpoint receives a 504 gateway error due to timeout at forward-request (after 60 seconds)
Note : Default timeout value is 300 secs as per Microsoft document and please let us know the maximum timeout value in Azure APIM policies.
Beta Was this translation helpful? Give feedback.
All reactions