r - Disconnected from Server in shinyapps, but local's working -
i deployed shiny code shinyapps.io successful. data has little rows (over 190,000), these data's can display in local pc shinyapps cannot 'disconnected server.'
so basic-plan , set memory size xxxlarge , config other settings.
but apps shut-down 'disconnected server.' continue..
how can set server setting?
please me, , sorry bad english.
here server log , url https://tmap.shinyapps.io/break_map/ (rn count 3~19, , select mech_cd, shut-down)
2016-08-24t05:34:08.539162+00:00 shinyapps[121340]: server version: 0.4.5.2170 2016-08-24t05:34:08.539194+00:00 shinyapps[121340]: r version: 3.3.0 2016-08-24t05:34:08.539201+00:00 shinyapps[121340]: shiny version: 0.13.2 2016-08-24t05:34:08.539203+00:00 shinyapps[121340]: rmarkdown version: na 2016-08-24t05:34:08.539204+00:00 shinyapps[121340]: knitr version: na 2016-08-24t05:34:08.539212+00:00 shinyapps[121340]: rjsonio version: na 2016-08-24t05:34:08.539204+00:00 shinyapps[121340]: jsonlite version: 0.9.19 2016-08-24t05:34:08.539212+00:00 shinyapps[121340]: htmltools version: 0.3.5 2016-08-24t05:34:08.754267+00:00 shinyapps[121340]: using jsonlite json processing 2016-08-24t05:34:08.758255+00:00 shinyapps[121340]: 2016-08-24t05:34:08.758256+00:00 shinyapps[121340]: starting r process id: '17' 2016-08-24t05:34:08.964272+00:00 shinyapps[121340]: loading required package: gsubfn 2016-08-24t05:34:08.970689+00:00 shinyapps[121340]: loading required package: proto 2016-08-24t05:34:09.000933+00:00 shinyapps[121340]: warning: no display variable tk not available 2016-08-24t05:34:09.011202+00:00 shinyapps[121340]: loading required package: rsqlite 2016-08-24t05:34:09.016999+00:00 shinyapps[121340]: loading required package: dbi 2016-08-24t05:34:10.597571+00:00 shinyapps[121340]: loading required package: tcltk 2016-08-24t05:34:12.215392+00:00 shinyapps[121340]: 2016-08-24t05:34:12.215396+00:00 shinyapps[121340]: listening on http://0.0.0.0:60468
if there no errors in logs, running 1 of 2 problems: either running out of memory, or application startup timing out.
try reducing data few rows , see if displays. if can display, know it's data size issue. next, try increasing application startup time under settings -> advanced -> startup timeout
.
if doesn't fix it, may running out of memory. make sure you're on large setting under settings -> general -> instance size
.
shinyapps.io allows 1gb free tier, around you'll either need find way of reducing data or getting paid plan: http://shiny.rstudio.com/articles/shinyapps.html
Comments
Post a Comment