Ec2 streamlit stuck on loading screen while running streamlit hello

Hey @antikythera!

Can you try setting the

[browser]
serverAddress = [your server hostname]

setting in your Streamlit config? (Instructions on the config are here: https://streamlit.io/docs/cli.html).

If you’ve already tried this and it’s not working, then it may be a network issue. Are you running it on a local server, or some hosting provider? Do you have a firewall that whitelists only certain types of traffic to certain hostnames? Or perhaps an Ngninx or Apache server acting as a reverse proxy for your Streamlit app, and that has routing rules that may be preventing this from working?

Streamlit serves normal HTTP requests as well as WebSocket requests over its port. Depending on what you’re integrating with, you may need to explicitly enable WebSocket traffic to get Streamlit to work.