App suddenly stopped working after it went to sleep

My application was working fine for a few weeks but then reported an error when I tried to reboot it after it went to sleep.

Here is the Streamlit log:

Starting up repository: 'gpcr-targetseeker', branch: 'main', main module: 'app.py'
[22:54:59] πŸ™ Cloning repository...
[22:55:05] πŸ™ failed
[22:55:19] πŸ™ failed
[22:55:38] πŸ™ failed
[22:55:53] πŸ™ failed
[22:56:10] πŸ™ failed
[22:56:20] πŸ™ Failed to download the sources for repository: 'gpcr-targetseeker', branch: 'main', main module: 'app.py'
[22:56:20] πŸ™ Make sure the repository and the branch exist and you have write access to it, and then reboot the app.
[22:57:59] ❗️ Streamlit server consistently failed status checks
[22:57:59] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.

Not sure what the error is. Here is a link to the repository: GitHub - gurveershienh/gpcr-targetseeker

Hey @gss

I forked and deployed your app here, and it seems to be working – have you tried restarting your app?

Hi, thanks for the reply.

I assumed my app was above the resource limits so I downsized the machine learning models and got it to work again. However, I am now facing the same issue with another app of mine. Is there any way to purchase greater resource limits for Streamlit apps?

I made no changes to the repo after successfully deploying it, however it stopped working after I attempted to reboot it like before.

Here is the github repo: GitHub - gurveershienh/CB1-SmartPred

Here is the log:

[10:18:44] πŸš€ Starting up repository: 'cb1-smartpred', branch: 'main', main module: 'app.py'
[10:18:44] πŸ™ Cloning repository...
[10:18:50] πŸ™ failed
[10:19:06] πŸ™ failed
[10:19:21] πŸ™ failed
[10:19:36] πŸ™ failed
[10:19:52] πŸ™ failed
[10:20:02] πŸ™ Failed to download the sources for repository: 'cb1-smartpred', branch: 'main', main module: 'app.py'
[10:20:02] πŸ™ Make sure the repository and the branch exist and you have write access to it, and then reboot the app.
[10:21:34] ❗️ Streamlit server consistently failed status checks
[10:21:34] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.

Hey @gss,

If you can share the link to the other app, I can verify that it’s a resource limit issue which is causing your app to stop working.

We don’t have plans to offer paid plans for Streamlit Community Cloud, but there are a few options if you need additional app resources:

  1. We have a joint cloud product with Snowflake which is currently in private preview. This product enables you to build and host Streamlit apps on Snowflake infrastructure. If you’re already a Snowflake customer, you can ask your Account Executive to get you added to the waitlist for private preview (shoot me a DM if you’re not sure who your Account Executive is). If you’d like to learn more about this product, please complete this form.

  2. There are a number of other platforms that can be used to deploy Streamlit apps; our forum’s deployment wiki features helpful guides and tutorials.

  3. If your app is used by a nonprofit or educational organization, shoot me a DM and we can increase the resources on your app.

Hope this helps and please let me know if you have any questions!

App URL - https://gurveershienh-cb1-smartpred-app-k5x858.streamlit.app/

I appreciate the help and your comprehensive list of options. I’ll shoot you a DM about resources. Thanks!

1 Like

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