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

Hi Sebastian, I am also using Fargate with an application load balancer. I’d check your browser logs first… If your app gets this far either you still have something in cache or some connection is getting through and it may be something internally.

I noticed that the error was caused by the load balancer attributes. To solve this, I had to enable the following options.

2 Likes