R Shiny, disconnects from server - no new logs

My app runs fine locally but when deployed globally it immediately throws the "Disconnected from Server" error.

I believe this is related to loading a file:
source("/home/shiny/themePublication2.R")
D<-read.csv('/home/shiny/data.csv', stringsAsFactors = F)

I looked at my log files at /var/log/shiny-server/ but I do not see any new log to identify the problem.

Try setting

options(shiny.sanitize.errors = FALSE)

It sometimes shows errors in the browser console (F12 > Console).
Also browser's Network tab is usefeul for debugging: start recording, then refresh the page and look for statuses different from 200 OK.

Try to only use relative paths. Shiny applications and deployments work well when using relative paths.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.