I'm on the Basic tier of shinyapps.io and currently have around 40 apps hosted. Most of them work perfectly well. However, I'm facing an issue with one particular app. The app runs fine immediately after I publish it from RStudio. But after a few hours, when I try to access the link again, I get a "404 Not Found" error.
I'm not sure what's causing this or what I might be doing wrong. I have very limited programming knowledge, so any help or guidance on what to check or fix would be greatly appreciated.
To try resolving it, I republished the app from RStudio after getting the 404 error, and it worked again—but only temporarily.
Has this app always had this behaviour? If not, and you're using git, then you could go back through your commit history one commit at a time to see which commit introduced the bug. You can do this manually, or using git bisect(Using "git bisect" to Quickly Find Bugs | Learn Version Control with Git).
Sorry, but without more info, it could be impossible to determine why you're having this bug. Once the git bisect shows you where the error occurred, you could update your post by sharing the code that introduced the bug.