【问题标题】:Tracing cause of 'The application unexpectedly exited' on shiny在闪亮时跟踪“应用程序意外退出”的原因
【发布时间】:2017-04-29 02:09:54
【问题描述】:

我的一个闪亮应用定期显示“与服务器断开连接”。

chrome devtools 日志显示如下,/var/log/shiny-server 中的日志中没有任何内容

我还可以在哪里查看正在发生的事情?

问候 戴夫

Wed Dec 14 2016 00:30:59 GMT+1300 (New Zealand Summer Time) [DBG]: 5 message(s) discarded from buffer
shiny-server-client.min.js:1 The application unexpectedly exited.

Diagnostic information is private. Please ask your system admin for permission if you need to check the R logs.
shiny-server-client.min.js:1 Wed Dec 14 2016 08:41:38 GMT+1300 (New Zealand Summer Time) [INF]: Connection closed. Info: {"type":"close","code":4503,"reason":"The application unexpectedly exited","wasClean":true}
shiny-server-client.min.js:1 Wed Dec 14 2016 08:41:38 GMT+1300 (New Zealand Summer Time) [DBG]: SockJS connection closed
shiny-server-client.min.js:1 Wed Dec 14 2016 08:41:38 GMT+1300 (New Zealand Summer Time) [DBG]: Channel 0 is closed
shiny-server-client.min.js:1 Wed Dec 14 2016 08:41:39 GMT+1300 (New Zealand Summer Time) [DBG]: Removed channel 0, 0 left

【问题讨论】:

  • 您找到解决问题的方法了吗?
  • 不,虽然它可能是“设计使然”,因为我认为 /var/log/shiny-server 中的日志只有在服务器上的 R 进程异常退出时才会被写入

标签: r shiny shiny-server


【解决方案1】:

我也遇到了同样的问题,刚刚解决了!

由于这两个库:XLConnect 和 xlsx,我的代码崩溃了。
当这两个虫子消失了,相关的excel下载功能也消失了,我的shinyapp运行得非常好。

希望这会有所帮助。

六月

【讨论】:

  • 这更适合作为评论,请不要使用答案字段。
猜你喜欢
  • 2016-02-27
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多