Flask containers show as "Running" in container group and log successful startup but very rarely respond to requests

Orel Fichman 6 Reputation points
2022-01-15T17:29:29.363+00:00

I'm running 3 containers in a container group.

2 of them are my own Python containers and the other one is Redis.

Both Python containers show up as "Running" in their status and when I look at their logs I see successful startup.

But they mostly do not work. Most of the times when I send a request it times out, and I do not see it in the log. On the off chance that the containers get the requests, they would take an eternity to return a response.

I'm listening on 443 and 80.
I've scoured everything I could find, tried App Service deployment, to no avail.

I would also like to point out metrics don't show the container group reaching even near the amount of resources I gave it. And the amount of resources I assign has no effect on this behavior.

Would appreciate some insight because I'm honestly beat down to my knees.

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
643 questions
{count} vote