Hello, I am currently using the 13 USD/month option for shinyapps.io. I have a tool that only ever displays an error 404 page when users visit the site. This occurs when the server instance goes to sleep, and the tool functions normally if I manually start up the instance, but as soon as the instance goes to sleep, users can only ever see the 404 page. From my understanding, instances should wake up when a user visits the URL, but this doesn't happen in my case.
I also have the same problem. Specifically, the instance goes to sleep and it does not wake up when a user is trying to use the application. Additionally, I cannot wake up the app manually from the dashboard menu. Instead, I can make it work only if I redeploy it.
Does anyone else this problem? I am constantly redeploying my apps only for them to work!
Hello.
I have a similar problem especially with one of my shiny apps (TTN_PSIVIS ). It fails to run or wake up properly and it is only fixed if I "restart application" in the "Applications / running" page ! After it is fixed the same issue arises shortly after the application sleeps, making the application not accessible again. I do not have the same issue with the other similar application !
Hello, I am having the same problem, getting a 404 if the app goes to sleep. I can get it to work by restarting in the shinyapps.io dashboard though, I don't need to redeploy it. The logs do not show anything unusual, and when a user tries to refresh the browser or "reload" a sleeping app the app stays sleeping. So I don't think it is a problem with the app itself but rather with shinyapps.
@kyle_hekhuis Could you look into this if @Matt_Landis gives you details of the app? Based on all the reports, it seems possible there's a bug somewhere.
There is a known bug in shinyapps.io where the application lookup returns a 404 when two apps share the same name but differ by using dashes vs underscores. Until a fix is released, please try renaming or deleting one of the apps as a workaround.
Automatic wake-up is not tied to a higher shinyapps.io tier. On the Basic plan, apps should still wake on request. Persistent 404s usually indicate a routing or deployment issue (e.g., renamed app, corrupted instance, or failed load). Redeploying the app or contacting Posit support is recommended.