shiny app disconnects from server; no logs

46 views
Skip to first unread message

Scott Kallgren

unread,
Sep 21, 2017, 4:41:07 PM9/21/17
to shinyapps.io Users
Hi all,

I have a private app at https://proxe.shinyapps.io/PRoXe/ that is disconnecting from server after minimal use (switching tabPanel, filtering a DT dataframe factor variable, have not exhausted this search). It runs just fine locally. My old version at a different URL works just fine at shinyapps.io.

The other odd thing is that I see *no new logs* after yesterday. The old app has no logs at all, in fact. The new app shows `2017-09-20T13:41:04.241411+00:00 shinyapps[50858]` as the final time logs were written.

I recently switched R versions (to 3.4.1) and updated all packages, including installing shiny, rsconnect, and DT from github. I can go roll these back one at a time.

Any thoughts? Is this a widespread issue, possibly?

Apologies for mentioning this in several comments and then also posting it here.

Thanks much,
Scott

Scott Kallgren

unread,
Sep 21, 2017, 4:58:24 PM9/21/17
to shinyapps.io Users
Switching back to R 3.3.2 (and all packages associated with that version) appears to have resolved this, though I still don't see any new logs. For posterity:

> sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: macOS Sierra 10.12.6

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] beeswarm_0.2.3     ggplot2_2.2.1      DT_0.2             RColorBrewer_1.1-2 gplots_3.0.1      
 [6] plyr_1.8.4         stringr_1.2.0.9000 xlsx_0.5.7         xlsxjars_0.6.1     rJava_0.9-8       
[11] readxl_1.0.0       shiny_1.0.3       

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.11.3     cellranger_1.1.0   bitops_1.0-6       tools_3.3.2        digest_0.6.12     
 [6] jsonlite_1.5       tibble_1.3.3       gtable_0.2.0       rlang_0.1.1        yaml_2.1.14       
[11] htmlwidgets_0.9    gtools_3.5.0       caTools_1.17.1     grid_3.3.2         R6_2.2.2          
[16] RJSONIO_1.3-0      gdata_2.18.0       magrittr_1.5       scales_0.4.1       htmltools_0.3.6   
[21] rsconnect_0.8      mime_0.5           xtable_1.8-2       colorspace_1.3-2   httpuv_1.3.5      
[26] KernSmooth_2.23-15 stringi_1.1.5      RCurl_1.95-4.8     lazyeval_0.2.0     munsell_0.4.3   

Joshua Spiewak

unread,
Sep 25, 2017, 11:29:00 AM9/25/17
to shinyapps.io Users
There is a known issue with R 3.4.x and Java on shinyapps.io that requires either rolling back to R 3.3.x or to place options(java.parameters = "-Xss2048k") ahead anything that causes java to start.

It appears you might be using xlsx which is known to trigger this issue.

Hope that helps!
Reply all
Reply to author
Forward
0 new messages