microsoft/TagAnomaly

The UI gets no response after running for a while

qqdaiyu55 opened this issue · 8 comments

User-System: MacOS 10.15
Deployment: deployed on Azure Container with the docker image
Chrome: 80.0.3987.149 (Official Build) (64-bit)
Problem: The UI get stuck after out of focus for a while.
Detail: I uploaded a 11M size file and tried to analyze the time series. After running for a while (switch to other workspaces or browser tabs), I found the UI got no response, and the bug can be reproduced.
When I clicked the tab buttons, there's no response, and the error message in console is

shinyapp.js:288 Uncaught TypeError: Cannot read property 'readyState' of null
    at ShinyApp.$sendMsg (shinyapp.js:288)
    at ShinyApp.sendInput (shinyapp.js:140)
    at InputBatchSender.$sendNow (input_rate.js:220)

Screen Shot 2020-03-24 at 6 20 28 PM

Hi,
Sounds like a bug in Shiny (maybe a duplicate of this: https://stackoverflow.com/questions/54470702/r-shiny-apps-greys-out-and-hangs)

Have you tried spinning up a larger compute for Azure Container Instances?

@omri374 Thanks for advice. I tried 4v CPU and 8G memory, and it didn't work. Seem that I have to deploy it on my local machine as the temporary solution.

Consider it's an issue of shiny server, I'll close this issue. Solved it with the solution in virtualstaticvoid/heroku-buildpack-r#97

I have exactly the same problem ( Shiny screen greyed out) after about 1 sec when launching the app from remote clients. Everything works fine on Rstudio Desktop.
The solution proposed here [/virtualstaticvoid/heroku-buildpack-r/issues/97] didn't solve the problem because my app crashes instantly when loading the app...
Any suggestion ?

I am facing the same issue as well, my app crashes instantly when loading the app. Did anyone was able to solve this?
Thanks

@Painthamil where/how are you deploying the app?

@omri374 In shinyapps.io

@Painthamil if it's the free tier, I believe it's by design.