I have an app that I've uploaded to shinyapps.io, and I've been noticing some instability that I can't trace. The app has a bunch of different reactive inputs which call code to filter, calculate, and plot some data. Occasionally, a certain sequence of selecting these inputs causes the site to freeze and trigger a 500 Internal Server Error.
Strangely enough, when I execute the same commands on a locally-hosted (thru R) version of the app, I don't get an error.
It's a really booger to trace: any suggestions on what may be causing the problem and/or how to debug it better? I'm a javascript novice, so any help would be appreciated.
Full representative error log:
/opt/shiny-server/scripts/shiny-run: line 3: 32 Killed
/bin/bash --login -c "$SHINY_EXEC_COMMAND $SHINY_R_PATH $*"
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
<<site@shinyapps.io>>/shared/bootstrap/css/bootstrap-responsive.min.css
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
<<site@shinyapps.io>>/shared/bootstrap/css/bootstrap.min.css
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
<<site@shinyapps.io>>/shared/font-awesome/css/font-awesome.min.css
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
<<site@shinyapps.io>>/shared/datatables/css/DT_bootstrap.css--
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/b01be2c7-3d4e-4762-b96a-f0abee36b800%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sorry to hear that Laura. Could you send a link to your application please?
On Monday, September 29, 2014, Laura Hughes <laura.d...@gmail.com> wrote:
--I have an app that I've uploaded to shinyapps.io, and I've been noticing some instability that I can't trace. The app has a bunch of different reactive inputs which call code to filter, calculate, and plot some data. Occasionally, a certain sequence of selecting these inputs causes the site to freeze and trigger a 500 Internal Server Error.
Strangely enough, when I execute the same commands on a locally-hosted (thru R) version of the app, I don't get an error.
It's a really booger to trace: any suggestions on what may be causing the problem and/or how to debug it better? I'm a javascript novice, so any help would be appreciated.
Full representative error log:
/opt/shiny-server/scripts/shiny-run: line 3: 32 Killed /bin/bash --login -c "$SHINY_EXEC_COMMAND $SHINY_R_PATH $*" Failed to load resource: the server responded with a status of 500 (Internal Server Error) <<site@shinyapps.io>>/shared/bootstrap/css/bootstrap-responsive.min.css Failed to load resource: the server responded with a status of 500 (Internal Server Error) <<site@shinyapps.io>>/shared/bootstrap/css/bootstrap.min.css Failed to load resource: the server responded with a status of 500 (Internal Server Error) <<site@shinyapps.io>>/shared/font-awesome/css/font-awesome.min.css Failed to load resource: the server responded with a status of 500 (Internal Server Error) <<site@shinyapps.io>>/shared/datatables/css/DT_bootstrap.css
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to shinyapps-users@googlegroups.com.
where "APPNAME" is the name of the app. More info about memory is here:http://shiny.rstudio.com/articles/shinyapps.html
Thanks to the folks at RStudio for helping diagnose.