I deployed my Shiny code to shinyapps.io successful. My data has little much rows (over 190,000), these data\'s can display in my local PC but shinyapps cannot with \'Discon
I had faced a similar issue, adding a few pointers which might help someone.
Load you application and try analysing the requests from the browser network logs section.
On doing so i noticed two of my requests from the Shiny app were pretty heavy and taking a long while ~25-30s. After a while connection would get terminated with the error as below:
{"type":"close","code":3000,"reason":"No response from heartbeat","wasClean":true}
Shiny has few params related to heartbeat.
http://docs.rstudio.com/shiny-server/#sockjs_heartbeat_delay
Setting them is what helped me. Increase the value of 'sockjs_heartbeat_delay' in shiny-server.conf to a large number and the disconnect issue was not seen anymore.