App crashing on Cloud

My App crashes intermittently with this rather uninformative error message:

[manager] Streamlit server consistently failed status checks
[manager] Please fix the errors, push an update to the git repo, or reboot the app.

I’ve seen similar posts but none of the older hacky fixes work for me and some of the newer posts seem to be unaddressed. Any advice?

Unfortunately with such few information we cannot help at all.
Please provide a link to your github repo, so we can have a look at it.

Here is the link:

Thanks in advance for any insights!

Didn’t see anything really suspicious at first glance.

  • did you try a “reboot”?
  • Remove all the __pycache__ folders and add a .gitgnore file to avoid commiting these files.
  • maybe pyscopg2-binary could be the problem

I’ve rebooted many times.

Removed all pycache folders and added .gitignore

Removed psycopg2-binary in favor of building psycopg2 from source, which is considered more stable.

Still crashing with same uninformative error messages.

BTW, it doesn’t crash on my local machine. Strangely, it doesn’t crash for me on Cloud but rather only for another user testing it.