title: Shiny server Connection closed. Info: {"type":"close","code":4503,"reason":"The application unexpectedly exited","wasClean":true}
body: <p>I've encountered a problem with deploying my shiny app on linux Ubuntu 16.04 LTS.
  After I run sudo systemctl start shiny-server, and open up my browser heading to <a href="http://192.168" rel="noreferrer">http://192.168</a>.<strong>.*</strong>:3838/StockVis/, the web page greys out in a second.</p>
  
  <p>I found some warnings in the web console as below, and survey some information on the web for like two weeks, but still have no solution. :(</p>
  
  <pre><code>***"Thu Feb 16 2017 12:20:49 GMT+0800 (CST) [INF]: Connection opened. http://192.168.**.***:3838/StockVis/"  
  
  Thu Feb 16 2017 12:20:49 GMT+0800 (CST) [DBG]: Open channel 0  
  
  The application unexpectedly exited.
  
  Diagnostic information is private. Please ask your system admin for permission if you need to check the R logs.  
  
  **Thu Feb 16 2017 12:20:50 GMT+0800 (CST) [INF]: Connection closed. Info: {"type":"close","code":4503,"reason":"The application unexpectedly exited","wasClean":true}  
  Thu Feb 16 2017 12:20:50 GMT+0800 (CST) [DBG]: SockJS connection closed  
  Thu Feb 16 2017 12:20:50 GMT+0800 (CST) [DBG]: Channel 0 is closed 
  Thu Feb 16 2017 12:20:50 GMT+0800 (CST) [DBG]: Removed channel 0, 0 left*****
  </code></pre>
  
  <p>Please kindly give some suggestions to move on.</p>