R version 3.3.1 (2016-06-21) is installed on my Centos 7 server and can access it via my browser and launch a Shiny app. I also installed a Shiny server (Shiny Server v18.104.22.1683, Node.js v0.10.21) on the machine. The Shiny server comes up and many users use different dashboards without any issues. But shiny service crashes randomly leaving below error in the log.
[ERROR] shiny-server - ESC[39mUncaught exception: TypeError: Cannot read property 'readable' of null
[INFO] shiny-server - ESC[39mStopping listener on 0.0.0.0:3838
[INFO] shiny-server - ESC[39mShutting down worker processes (with notification)
TypeError: Cannot read property 'readable' of null
at ServerResponse.ondrain (/opt/shiny-server/node_modules/http-proxy/lib/node-http-proxy/http-proxy.js:327:19) at ServerResponse.EventEmitter.emit (events.js:92:17) at Socket.ondrain (http.js:1854:44) at Socket.EventEmitter.emit (events.js:117:20) at onwriteDrain (_stream_writable.js:283:12) at afterWrite (_stream_writable.js:271:5) at onwrite (_stream_writable.js:264:7) at Socket.WritableState.onwrite (_stream_writable.js:97:5) at Object.afterWrite (net.js:728:12)
I cannot see any error in user logs. I have read a few posts and heard from others to upgrade shiny service but still, want to know why the service is crashing. Can someone help me out here?