title: R Shiny "Disconnected from server" works fine locally and on shinyapps.io
body: <p>I created a Shiny app, using some public data (csv format) and visualize some basic insights in my shiny app. When deploying, the app works fine both locally, and on shinyapps.io, but for some reason fails when deploying on my own ubuntu server, where shiny-server is installed. Other examples, provided by shiny-server work fine.</p>
  
  <p>The UI elements load correctly, but shortly after (like half a second later) the application crashes, showing the generic error "Disconnected from server". The strangest thing to me is that it works fine on shinyapps.io.</p>
  
  <p>Some things that might cause the problem: </p>
  
  <ol>
  <li>I tried to load a .csv file, which I made available in the same directory as the server and UI files.</li>
  <li>Packages are installed globally (installed in terminal as sudo user), but might not be accessible for the shiny-server.</li>
  </ol>
  
  <p>The app is available here: <a href="https://maartenstolk.shinyapps.io/nbd_biblion/" rel="nofollow noreferrer">https://maartenstolk.shinyapps.io/nbd_biblion/</a></p>
  
  <p>Any suggestions what might go wrong?</p>