Streamlit python project error

In logs it says build succeeded but eventually after some time deploy fails.

Hi Anurag

Thanks for reaching out.

You haven’t provided much detail here, but from what you describe, it sounds like incorrectly configured server details.

You would need to configure the server to listen for connections on host address 0.0.0.0 and a port, (10000 is our default). The Streamlit docs here show that configuration can be added in various ways. Based on that, maybe the simplest to try would be adding environment variables to your service:

STREAMLIT_SERVER_ADDRESS with a value of 0.0.0.0
STREAMLIT_SERVER_PORT with a value of 10000

Hope that helps.

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.