【发布时间】:2014-11-24 11:14:37
【问题描述】:
我有一个已上传到 shinyapps.io 的应用程序,但我注意到一些我无法追踪的不稳定因素。该应用程序有一堆不同的响应式输入,它们调用代码来过滤、计算和绘制一些数据。有时,选择这些输入的特定顺序会导致站点冻结并触发 500 内部服务器错误。
奇怪的是,当我在本地托管 (thru R) 版本的应用程序上执行相同的命令时,我没有收到错误。
这是一个真正的鼻屎追踪:关于什么可能导致问题和/或如何更好地调试它的任何建议?我是 javascript 新手,因此我们将不胜感激。
完整的代表性错误日志:
/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
【问题讨论】:
标签: r shiny shiny-server