简体   繁体   中英

Increase Azure Webapp for containers timeout

I am trying to send a big file to one of my APIs hosted as an "Azure Webapp for containers" Linux service.

However, I am getting timed out while data transfer. So, wanted to increase it to 10 mins.

Is there some way to do it?

PS: Using Flask to serve the API

This means that the Azure load balancer is timing out. Since, it is taking more than 230 seconds to receive a response from this web app, Azure Load balancer will time out. It has a time out of 240 seconds. This is 4-minute idle timeout on the TCP level, and it is implemented on the Azure hardware load balancer. This timeout is not configurable, and this cannot be changed. One thing I want to mention is that this is idle timeout at the TCP level which means that if the connection is idle only and no data transfer happening, only then this timeout is hit. To provide more info, this will hit if the web application got the request and kept processing the request for > 4minutes without sending any data back.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM