shiny-server.log seems to be clean. Here it is:
[2018-02-11 20:33:05.148] [INFO] shiny-server - Stopping listener on
0.0.0.0:3838[2018-02-11 20:33:05.148] [INFO] shiny-server - Shutting down worker processes (with notification)
[2018-02-11 21:23:02.550] [INFO] shiny-server - Shiny Server v1.5.7.0 (Node.js v6.10.3)
[2018-02-11 21:23:02.552] [INFO] shiny-server - Using pidfile /data/shiny-server/run/shiny-server.pid
[2018-02-11 21:23:02.553] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"
[2018-02-11 21:23:02.589] [INFO] shiny-server - Starting listener on
0.0.0.0:3838[2018-02-11 21:30:39.034] [INFO] shiny-server - Stopping listener on
0.0.0.0:3838[2018-02-11 21:30:39.035] [INFO] shiny-server - Shutting down worker processes (with notification)
[2018-02-11 21:31:22.573] [INFO] shiny-server - Shiny Server v1.5.7.0 (Node.js v6.10.3)
[2018-02-11 21:31:22.576] [INFO] shiny-server - Using pidfile /data/shiny-server/run/shiny-server.pid
[2018-02-11 21:31:22.576] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"
[2018-02-11 21:31:22.614] [INFO] shiny-server - Starting listener on
0.0.0.0:3838
This is my app:
options(shiny.sanitize.errors = FALSE)
options(shiny.trace = TRUE)
library(shiny)
# Define UI for application that plots random distributions
#ui <- fluidPage(
ui <- bootstrapPage(
"test",
h3("URL components"),
verbatimTextOutput("urlText"),
"test",
browser()
)
server <- function(input, output,session) {
}
shinyApp(ui, server)
The app log shows the following:
Listening on http://127.0.0.1:45704
SEND {"config":{"workerId":"","sessionId":"cc24c18a88fb9c8c8a049e7ef6b17b39","user":null}}
Execution halted
No error messages on the browser console. Browser log is attached.
This is my shiny-server.conf
# Instruct Shiny Server to run applications as the user "shiny"
run_as shiny;
preserve_logs true;
sanitize_errors false;
#app_init_timeout 60;
#app_idle_timeout 60;
#disable_protocols websocket xdr-polling xdr-streaming;
#disable_protocols websocket xdr-polling;
#disable_protocols xdr-streaming xhr-streaming iframe-eventsource iframe-htmlfile;
# Define a server that listens on port 3838
server {
listen 3838;
# Define a location at the base URL
location /shiny {
# Host the directory of Shiny Apps stored in this directory
site_dir /data/shiny-apps;
# Log all Shiny output to files in this directory
log_dir /var/log/shiny-server;
# When a user visits the base URL rather than a particular application,
# an index of the applications available in this directory will be shown.
directory_index off;
}
}
Any help is very much appreciated.
Thank you.