Http response streaming stops (timeout?) at 30 minutes - Azure Container App

Tamás Pollák [CELUM] 0 Reputation points
2023-11-10T10:57:21.6433333+00:00

I have an Azure Container App (Node.js + Express) with an http endpoint. It creates a zip file and streams it to the client on the fly. (Fetching files sequentially from an upstream service and streaming them as entries to the zip)
Meaning it returns a response immediately, but the response body stream remains open until all files are written to it.

When the process takes a long time then exactly at 30 minutes the streaming stops. It's not a timeout in the Node.js server, nor a client disconnect, seems like some kind of timeout in the Azure infrastructure. I did not configure any load balancer or similar component, it is just a plain container app.

Does someone have a tip what might be the issue here?

Thank you in advance,
Tamás

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
324 questions
{count} votes