Error while running the app

The service has encountered an error while checking the health of the Streamlit app: Get "http://localhost:8501/healthz": read tcp> read: connection reset by peer
[07:25:32] ❗️ Streamlit server consistently failed status checks
[07:25:32] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.

Can anyone helo me with the error

Hi @Diamond_Exports

For the “:frowning_with_open_mouth: Oh no.” error, can you check the app’s log to identify any errors. To do this, click on the “Manage app” button at the button right, then click on the vertical “…” button and click “Download log”.

After looking at the log, if there’s no specific error that were encountered then it is most likely that the app has exceeded its limit. In that case, there’s 2 options:

  1. Continue to use the Community Cloud but refactor the code in order to optimize its utilization of allocated resources. Thus, please review and incorporate the recommendations outlined in the following blog posts (3 steps to fix app memory leaks and Common app problems: Resource limits).
  2. Switch to deploying to a third-party cloud provider such as AWS, Azure or Digital Ocean so that the app has access to more compute resource (Note: Apps deployed to the Community Cloud are allocated a generous 1 GB of memory).

Hope this helps!