Hello! I recently made a shiny app using R-flexdashboard and shiny components. The app works perfectly fine in my local machine but fails when I try to deploy it on R Shiny servers. It just says "Disconnected from server". I tried to see the log but could not fine any discrepancies. The log is :
2021-04-17T17:53:42.067235+00:00 shinyapps[3919416]: jsonlite version: 1.7.2
2021-04-17T17:53:42.067209+00:00 shinyapps[3919416]: shiny version: 1.6.0
2021-04-17T17:53:42.280061+00:00 shinyapps[3919416]:
2021-04-17T17:53:42.067225+00:00 shinyapps[3919416]: knitr version: 1.30
2021-04-17T17:53:42.067207+00:00 shinyapps[3919416]: LANG: en_US.UTF-8
2021-04-17T17:53:42.067570+00:00 shinyapps[3919416]: Using pandoc: /opt/connect/ext/pandoc/2.11
2021-04-17T17:53:42.067192+00:00 shinyapps[3919416]: Server version: 1.8.6.1
2021-04-17T17:53:42.067300+00:00 shinyapps[3919416]: htmltools version: 0.5.1.1
2021-04-17T17:53:42.358678+00:00 shinyapps[3919416]:
2021-04-17T17:53:42.358680+00:00 shinyapps[3919416]: Listening on http://127.0.0.1:44088
2021-04-17T17:53:57.851132+00:00 shinyapps[3919416]:
2021-04-17T17:53:58.334310+00:00 shinyapps[3919416]:
2021-04-17T17:53:58.334312+00:00 shinyapps[3919416]:
2021-04-17T17:53:58.356509+00:00 shinyapps[3919416]: ordinary text without R code
2021-04-17T17:53:58.356321+00:00 shinyapps[3919416]:
|
| | 0%
|
|. | 1%
2021-04-17T17:53:58.334313+00:00 shinyapps[3919416]: processing file: accounts.Rmd
2021-04-17T17:53:58.356510+00:00 shinyapps[3919416]:
2021-04-17T17:53:58.356910+00:00 shinyapps[3919416]:
|
|. | 2%
2021-04-17T17:53:58.357714+00:00 shinyapps[3919416]: label: setup (with options)
2021-04-17T17:53:58.359937+00:00 shinyapps[3919416]: List of 1
2021-04-17T17:53:58.361480+00:00 shinyapps[3919416]: $ include: logi FALSE
2021-04-17T17:53:58.361506+00:00 shinyapps[3919416]:
2021-04-17T17:57:43.001675+00:00 shinyapps[3919416]: Running on host: 38194c8a6b8a
2021-04-17T17:57:43.008530+00:00 shinyapps[3919416]: Server version: 1.8.6.1
2021-04-17T17:57:43.008546+00:00 shinyapps[3919416]: LANG: en_US.UTF-8
2021-04-17T17:57:43.008547+00:00 shinyapps[3919416]: R version: 4.0.2
2021-04-17T17:57:43.008616+00:00 shinyapps[3919416]: jsonlite version: 1.7.2
2021-04-17T17:57:43.008547+00:00 shinyapps[3919416]: shiny version: 1.6.0
2021-04-17T17:57:43.008627+00:00 shinyapps[3919416]: htmltools version: 0.5.1.1
2021-04-17T17:57:43.008556+00:00 shinyapps[3919416]: httpuv version: 1.5.5
2021-04-17T17:57:43.008617+00:00 shinyapps[3919416]: RJSONIO version: (none)
2021-04-17T17:57:43.008566+00:00 shinyapps[3919416]: rmarkdown version: 2.7
2021-04-17T17:57:43.008852+00:00 shinyapps[3919416]: Using pandoc: /opt/connect/ext/pandoc/2.11
2021-04-17T17:57:43.189021+00:00 shinyapps[3919416]: Starting R with process ID: '27'
2021-04-17T17:57:43.185419+00:00 shinyapps[3919416]: Using jsonlite for JSON processing
2021-04-17T17:57:43.189020+00:00 shinyapps[3919416]:
2021-04-17T17:57:43.008586+00:00 shinyapps[3919416]: knitr version: 1.32
2021-04-17T17:57:43.265482+00:00 shinyapps[3919416]:
2021-04-17T17:57:43.265484+00:00 shinyapps[3919416]: Listening on http://127.0.0.1:44077
2021-04-17T17:57:55.680163+00:00 shinyapps[3919416]:
2021-04-17T17:57:56.290523+00:00 shinyapps[3919416]:
2021-04-17T17:57:56.310431+00:00 shinyapps[3919416]:
2021-04-17T17:57:56.290525+00:00 shinyapps[3919416]:
2021-04-17T17:57:56.290525+00:00 shinyapps[3919416]: processing file: accounts.Rmd
2021-04-17T17:57:56.310283+00:00 shinyapps[3919416]:
|
| | 0%
|
|. | 1%
2021-04-17T17:57:56.310431+00:00 shinyapps[3919416]: ordinary text without R code
2021-04-17T17:57:56.313814+00:00 shinyapps[3919416]: List of 1
2021-04-17T17:57:56.311652+00:00 shinyapps[3919416]: label: setup (with options)
2021-04-17T17:57:56.315258+00:00 shinyapps[3919416]: $ include: logi FALSE
2021-04-17T17:57:56.310821+00:00 shinyapps[3919416]:
|
|. | 2%
2021-04-17T17:57:56.315295+00:00 shinyapps[3919416]:
The libraries I am using are:
options(gsubfn.engine = "R")
options(java.parameters = "-Xmx8048m")
library(rmarkdown)
library(httr)
library(mailR)
library(shiny)
library(shinyWidgets)
library(stringr)
library(DT)
library(DBI)
library(RMySQL)
library(rsconnect)
library(plyr)
library(dplyr)
library(lubridate)
library(leaflet)
library(tidyr)
library(RJDBC)
library(xlsx)
library(ggpubr)
library(leaflet.extras)
library(magrittr)
library(fontawesome)
Please guide me on how I can resolve this issue. I have also enclosed the picture of the app settings.
Thanks