disconnect from server shiny without any error, works locally fine

674 views
Skip to first unread message

Zhilong Jia

unread,
Apr 20, 2016, 2:18:12 AM4/20/16
to ShinyApps Users
When I click the plot tab, D2Dpage has the problem, "Disconnected from the server" in shinyapps but not in local shiny server. Probably related with the resources (I guess). The plot will call corrplot:corrplot. Same problem for the "web-server" page. Thank you. 
Logs are here. if more infor are need, if tell me. Thank you.
logs:
##############################
2016-04-18T13:06:08.472731+00:00 shinyapps[76037]: 
2016-04-18T13:06:08.478465+00:00 shinyapps[76037]:     intersect, setdiff, setequal, union
2016-04-18T13:06:08.490418+00:00 shinyapps[76037]: 
2016-04-18T13:06:08.490420+00:00 shinyapps[76037]: Attaching package: ‘DT’
2016-04-18T13:06:08.490421+00:00 shinyapps[76037]: 
2016-04-18T13:06:08.490654+00:00 shinyapps[76037]: The following object is masked from ‘package:networkD3’:
2016-04-18T13:06:08.490656+00:00 shinyapps[76037]: 
2016-04-18T13:06:08.490657+00:00 shinyapps[76037]:     JS
2016-04-18T13:06:08.490658+00:00 shinyapps[76037]: 
2016-04-18T13:06:08.478466+00:00 shinyapps[76037]: 
2016-04-18T13:06:08.491464+00:00 shinyapps[76037]: 
2016-04-18T13:06:08.478462+00:00 shinyapps[76037]: The following objects are masked from ‘package:base’:
2016-04-18T13:06:08.478463+00:00 shinyapps[76037]: 
2016-04-18T13:06:08.491466+00:00 shinyapps[76037]: 
2016-04-18T13:06:08.491462+00:00 shinyapps[76037]: The following objects are masked from ‘package:shiny’:
2016-04-18T13:06:08.491465+00:00 shinyapps[76037]:     dataTableOutput, renderDataTable
2016-04-18T13:09:40.022614+00:00 shinyapps[76037]: Server version: 0.4.3.1780
2016-04-18T13:09:40.022703+00:00 shinyapps[76037]: R version: 3.2.3
2016-04-18T13:09:40.022715+00:00 shinyapps[76037]: shiny version: 0.12.2.9007
2016-04-18T13:09:40.022716+00:00 shinyapps[76037]: rmarkdown version: NA
2016-04-18T13:09:40.022717+00:00 shinyapps[76037]: knitr version: NA
2016-04-18T13:09:40.022727+00:00 shinyapps[76037]: jsonlite version: 0.9.19
2016-04-18T13:09:40.022749+00:00 shinyapps[76037]: RJSONIO version: NA
2016-04-18T13:09:40.022768+00:00 shinyapps[76037]: htmltools version: 0.3.5
2016-04-18T13:09:40.278771+00:00 shinyapps[76037]: Using jsonlite for JSON processing
2016-04-18T13:09:40.283280+00:00 shinyapps[76037]: 
2016-04-18T13:09:40.283282+00:00 shinyapps[76037]: Starting R with process ID: '37'
2016-04-18T13:09:40.303983+00:00 shinyapps[76037]: 
2016-04-18T13:09:40.303987+00:00 shinyapps[76037]: Listening on http://0.0.0.0:50452
2016-04-18T13:09:42.732685+00:00 shinyapps[76037]: 
2016-04-18T13:09:42.739050+00:00 shinyapps[76037]:     intersect, setdiff, setequal, union
2016-04-18T13:09:42.732690+00:00 shinyapps[76037]: Attaching package: ‘dplyr’
2016-04-18T13:09:42.749706+00:00 shinyapps[76037]: 
2016-04-18T13:09:42.750767+00:00 shinyapps[76037]: 
2016-04-18T13:09:42.732691+00:00 shinyapps[76037]: 
2016-04-18T13:09:42.749709+00:00 shinyapps[76037]: Attaching package: ‘DT’
2016-04-18T13:09:42.733319+00:00 shinyapps[76037]: The following objects are masked from ‘package:stats’:
2016-04-18T13:09:42.749956+00:00 shinyapps[76037]:     JS
2016-04-18T13:09:42.733322+00:00 shinyapps[76037]: 
2016-04-18T13:09:42.749710+00:00 shinyapps[76037]: 
2016-04-18T13:09:42.750765+00:00 shinyapps[76037]:     dataTableOutput, renderDataTable
2016-04-18T13:09:42.733323+00:00 shinyapps[76037]:     filter, lag
2016-04-18T13:09:42.749955+00:00 shinyapps[76037]: 
2016-04-18T13:09:42.733325+00:00 shinyapps[76037]: 
2016-04-18T13:09:42.749957+00:00 shinyapps[76037]: 
2016-04-18T13:09:42.739046+00:00 shinyapps[76037]: The following objects are masked from ‘package:base’:
2016-04-18T13:09:42.749953+00:00 shinyapps[76037]: The following object is masked from ‘package:networkD3’:
2016-04-18T13:09:42.750764+00:00 shinyapps[76037]: 
2016-04-18T13:09:42.739048+00:00 shinyapps[76037]: 
2016-04-18T13:09:42.750762+00:00 shinyapps[76037]: The following objects are masked from ‘package:shiny’:
2016-04-18T13:09:42.739052+00:00 shinyapps[76037]: 
##############################

Tareef Kawaf

unread,
Apr 20, 2016, 7:10:16 AM4/20/16
to Zhilong Jia, ShinyApps Users
Jia,
My guess is that you are running out of memory on the default instance size.  Have you tried bumping up the instance size you are using for that application?

-Tareef

--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/04355eb4-8a94-4d09-89c1-df244aa2a626%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Zhilong Jia

unread,
Apr 20, 2016, 7:52:10 AM4/20/16
to Tareef Kawaf, ShinyApps Users
Hi Tareef, 

Thank you. So far I use starter plan (max memory is 1G). I cannot try to enlarge the memory for free. Is there a way to make sure this issue then I can have a decision? Thank you.

Regards,
Zhilong

Tareef Kawaf

unread,
Apr 20, 2016, 7:55:45 AM4/20/16
to Zhilong Jia, ShinyApps Users
Let me check with one of our engineers to see if we can confirm that for you.  We have it on our backlog to get this data into the logs so it is easier for everyone to see, but it has taken a back seat due to some higher priority items.  

Hopefully one of our engineers can confirm and respond since I am out today and tomorrow.

Best,
Tareef

Zhilong Jia

unread,
May 8, 2016, 7:24:43 AM5/8/16
to ShinyApps Users
Any updates?

Joshua Spiewak

unread,
May 9, 2016, 5:00:39 PM5/9/16
to ShinyApps Users
I can confirm that it is running out of memory.

sri...@navgathi.com

unread,
Sep 16, 2016, 12:58:43 AM9/16/16
to shinyapps.io Users
Dear all. 

      i deployed my app successfully ,its run well and good in locally and online but when i ask my client to work on that ,my client always encounter the problem of "disconnect from server" .I Attached my LOGS OF THAT SESSION ,IN THAT NO Error is occurred ,as im using professional pack ,i set instance size to xxxlarge (8gb )  ,but still im getting same issue .please help to come out of this . its very importance for me otherwise i lost my client support.
Capture.PNG

Tareef Kawaf

unread,
Sep 16, 2016, 4:55:24 AM9/16/16
to sri...@navgathi.com, shinyapps.io Users
Sriram,
If you can reproduce the issue, it would be helpful for you to open up a ticket with shinyapps-support and provide any steps that you have, we will be sure to hop on and see if we can figure out what is going on.  
I would include your account id, your application URL, and the steps taken to reproduce the issue.  Also, if you could check and see if you see any errors from the javascript console within the browser when the disconnect occurs, it would help.

Best,
Tareef

--
You received this message because you are subscribed to the Google Groups "shinyapps.io Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-users+unsubscribe@googlegroups.com.
To post to this group, send email to shinyapps-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/ec8a2fbe-da88-46b0-bd69-09e126256e3a%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages