We have a streamlit that we are trying to get working in AWS on FARGATE/ECS. Locally it works fine, but when deployed on AWS, we just get the “Please wait…” and inspection of the Developer Console reveals the Websockets errors.
We are hitting the Streamlit by IP only. We idon’t have a host name setup via Route53. We also are not using an ALB, we are just hitting the container directly. Our entry point is as follows:
ENTRYPOINT [“streamlit”, “run”, “–server.port=80”, “–server.enableCORS=false”, “–server.enableWebsocketCompression=false”]
The other config files are set to default inside the container. We disabled CORS since we have no hostname at this time. And we disabled Websocket Compression. We noticed that Safari 16.0 will actually work, but with Chrome it does not.
We do use a proxy at work (zScaler). The proxy info is being set as ARG in the Dockerfile.
Does anyone have any idea what may be stopping this from working? On the ECS task, I am using port 80.