Problem with Application Load Balancer Fargate

Hello everyone,

I wanted to ask for help with an issue I’m having with Streamlit when deploying on AWS Fargate.

The problem is that I want to implement an Application Load Balancer to have an HTTP connection pointing to the server. However, when I set it up with a listener on port 443 (HTTP), the application just shows a “loading black screen” when I access the DNS provided by AWS.

Interestingly, if I do the same setup using a Network Load Balancer with a listener on TCP port 443, the DNS correctly redirects me to the app.

Additionally, when I check the ECS task logs for the Application Load Balancer, they appear, which doesn’t happen when using the Network Load Balancer.

Thank you for your help.

up