Application file is not found when deploying in Streamlit Cloud

I’m trying to deploy stocks-playground/dashboard.py at c3b5277e21d41e48938fb9fe038c913da718bcea · drorata/stocks-playground · GitHub. Using the link stocks-playground/dashboard.py at switch-to-pipenv-and-update · drorata/stocks-playground · GitHub.

At the end of the build I get the error:

Error: Invalid value: File does not exist: dashboard.py

[14:19:40] ❗️ The service has encountered an error while checking the health of the Streamlit app: Get "http://localhost:8501/healthz": dial tcp 127.0.0.1:8501: connect: connection refused
[14:21:12] ❗️ Streamlit server consistently failed status checks
[14:21:12] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.

Why is that? The file dashboard.py is available in the branch…

Hi @drorata,

Can you share the link to the app?

Caroline

It would be: https://drorata-stocks-playground-dashboard-switch-to-pipenv-and-oefjcc.streamlitapp.com/

Well, I simply restarted again the application and now it worked smoothly. Probably a glitch I over looked. Thanks anyways, and enjoy https://drorata-stocks-playground-dashboard-switch-to-pipenv-and-oefjcc.streamlitapp.com/. Note, I will later move it to master.

1 Like