Streamlit app keeps crashing on health check

Deploying my app on Community Cloud it keeps crashing after a few minutes and the error I am getting in the logs is puzzling:

The service has encountered an error while checking the health of the Streamlit app: Get "http://localhost:8501/script-health-check": EOF

I do suspect the crash might be due to resource constraints, however, would anyone know why it’s calling the /script-health-check endpoint to perform health checks instead of /healthz?

App URL: https://content-pipeline.streamlit.app/
Repository: GitHub - acidix/na-cp-streamlit: Streamlit frontend for NA Content Pipeline
Streamlit Version: >=1.28.2
Python 3.10

Thanks in advance for any hints!

there can be multiple issues here maybe from your side machine but this few thing may fix the issue, this can occur due to machine limits.
run this in terminal

streamlit --version

If needed, you can upgrade Streamlit using:

pip install --upgrade streamlit

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