I have a memory-intensive Shiny app deployed on shinyapps.io's Basic tier. After trying to configure settings to reserve one instance for each user, I now have issues where the second user who connects receives a 503 error. What I expect is that they'll be able to connect to the app just like the first user.
Does anyone have any guidance on how I should be structuring the shinyapps.io backend to avoid this error and ensure each of my users successfully connects to their own instance?
For background:
- The image below is what the second user sees. Refreshing does not appear to solve the issue, nor does connecting again in a separate incognito window (other users mentioned a cache issue). Spacing out the connections by a minute or two also does not fix the issue.
- I'm confused because:
- To reserve one worker and one instance for each user, max workers and max connections are both set to 1.
- I've set the app have a 10 instance Start Count. This is unneccessary at most times, but I'm surprised this is not solving the issue.
- I also set the instance load factor to an especially low 1% value, hoping that it would prevent the next user from receiving the error.
- Details for this app are in the images below.
- The issues are similar to the post here, where a few users reported 503 errors. In their cases, the 503 errors happened inconsistently; one user also had them appear on startup, but their was no particular response to their issue. Because the thread is now locked, I've started this new post.



