Application is timing out and refreshing after a few minutes

Hi, I have successfully deployed a streamlit python application, everything works fine but after a few minutes it refreshes.

Is there a parameter I can use to extend the timeout/refresh period? or a way to avoid this from happening completely?

There are no error messages in the logs

Thank you

Hey,

What do you mean exactly by “it refreshes”? Our free tier spins down after 15 minutes of inactivity, so the first request after the service is spun down make take a while, but subsequent requests should be faster. Is that what you’re observing? More info related to this here: https://render.com/docs/free

Regards.
Jérémy, Render Support

Hi, I am not a free tier.

I have noticed this behaviour only twice since deploying the app yesterday. After a few minutes of inactivity from the user the app restared losing all outputs from the computations.
However most of the times this does not happen.

Hey,

Could provide a service_id? This may be better communicated via a support ticket which you can create via the “Contact Support” form in the dashboard.

Regards.
Jérémy, Render Support

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