shiny-server ERROR: cannot open the connection

2,326 views
Skip to first unread message

Tyler Hunt

unread,
Sep 24, 2014, 11:50:18 PM9/24/14
to shiny-...@googlegroups.com
I created a simple app that uses dataTables to displaya couple tables.  I load 2 Rdata files in the global.R file and everything works locally as well as on shinyapps.  When I launched an EC2 instance (ubuntu) and installed shiny-server I run into this issue ERROR: cannot open the connection.

Here is my repo for the application

I have tried to change the owner of the folder using this code in the terminal


chown shiny:shiny /srv/shiny-server/cfbRankings

Any ideas?

Thanks


Fereshteh Karimeddini

unread,
Sep 25, 2014, 10:13:42 AM9/25/14
to shiny-...@googlegroups.com
Tyler,

The connection error might be caused by this line in ui.R:

includeScript("google-analytics.js")

This file is not in your github repo. You probably have it locally.

Best,
Fereshteh

Tyler Hunt

unread,
Sep 25, 2014, 11:33:19 AM9/25/14
to shiny-...@googlegroups.com
Thanks.  It is always something simple...
Reply all
Reply to author
Forward
0 new messages