Having issues with running Shiny App on Shinyapps.io

Hello,

I am having issue running a R shiny app. When I deploy the app, it runs successfully internally but when I try to deploy the File on shinyapp.io, it reads " An error has occurred. Unable to connect to worker after 60.00 seconds; startup took too long. Contact the author for more information."

In case anyone wants to try to deploy it, all of the files are here in Github: GitHub - dasegovi19/dasegovi19: Config files for my GitHub profile.

The Shiny App includes the UI and Server functions, The Source File is referenced in the Shile File App, and the rest of the 4 csv files are datasets used in the app. I also imported a .shp file that I use for my maps.

I have been spending many hours trying to get to the root of the problem without success. Any help would be deeply appreciated.

Here are the logs:

2021-12-12T02:05:35.089031+00:00 shinyapps[5308683]: cols(
2021-12-12T02:05:35.089032+00:00 shinyapps[5308683]: )
2021-12-12T02:05:35.090618+00:00 shinyapps[5308683]: Reading layer geo_export_98fe4105-70bd-4550-ac65-4ee190adf631' from data source /srv/connect/apps/Resource/geo_export_98fe4105-70bd-4550-ac65-4ee190adf631.shp' using driver ESRI Shapefile' 2021-12-12T02:05:35.146746+00:00 shinyapps[5308683]: Geometry type: MULTIPOLYGON 2021-12-12T02:05:35.146729+00:00 shinyapps[5308683]: Simple feature collection with 77 features and 9 fields 2021-12-12T02:05:35.147132+00:00 shinyapps[5308683]: Bounding box: xmin: -87.94011 ymin: 41.64454 xmax: -87.52414 ymax: 42.02304 2021-12-12T02:05:35.153447+00:00 shinyapps[5308683]: Geodetic CRS: WGS84(DD) 2021-12-12T02:05:35.089032+00:00 shinyapps[5308683]: Chicago city, Illinois` = col_number()
2021-12-12T02:05:35.147049+00:00 shinyapps[5308683]: Dimension: XY
2021-12-12T02:05:35.474435+00:00 shinyapps[5308683]: Preparing to deploy application...DONE
2021-12-12T02:05:36.339771+00:00 shinyapps[5308683]: Uploading bundle for application: 5308683...Warning in FUN(X[[i]], ...) :
2021-12-12T02:05:36.339775+00:00 shinyapps[5308683]: Package 'rsconnect 0.8.26' was installed from sources; Packrat will assume this package is available from a CRAN-like repository during future restores
2021-12-12T02:05:39.225993+00:00 shinyapps[5308683]: DONE
2021-12-12T02:05:39.233415+00:00 shinyapps[5308683]: Deploying bundle: 5361180 for application: 5308683 ...
2021-12-12T02:05:39.408274+00:00 shinyapps[5308683]: Waiting for task: 1065688902
2021-12-12T02:05:40.486541+00:00 shinyapps[5308683]: building: Parsing manifest
2021-12-12T02:05:42.572083+00:00 shinyapps[5308683]: building: Building image: 6213616
2021-12-12T02:05:46.742062+00:00 shinyapps[5308683]: building: Installing system dependencies
2021-12-12T02:05:54.039470+00:00 shinyapps[5308683]: building: Fetching packages
2021-12-12T02:05:57.159131+00:00 shinyapps[5308683]: building: Building package: rsconnect
2021-12-12T02:10:24.937489+00:00 shinyapps[5308683]: Running on host: 326be816ee88
2021-12-12T02:10:24.944030+00:00 shinyapps[5308683]: Server version: 2021.11.0
2021-12-12T02:10:24.944042+00:00 shinyapps[5308683]: LANG: C.UTF-8
2021-12-12T02:10:24.944048+00:00 shinyapps[5308683]: R version: 4.0.2
2021-12-12T02:10:24.944065+00:00 shinyapps[5308683]: shiny version: 1.7.1
2021-12-12T02:10:24.944106+00:00 shinyapps[5308683]: knitr version: 1.30
2021-12-12T02:10:24.944072+00:00 shinyapps[5308683]: httpuv version: 1.5.4
2021-12-12T02:10:24.944097+00:00 shinyapps[5308683]: rmarkdown version: 2.11
2021-12-12T02:10:24.944150+00:00 shinyapps[5308683]: jsonlite version: 1.7.2
2021-12-12T02:10:24.944162+00:00 shinyapps[5308683]: RJSONIO version: (none)
2021-12-12T02:10:24.944163+00:00 shinyapps[5308683]: htmltools version: 0.5.2
2021-12-12T02:10:24.944474+00:00 shinyapps[5308683]: Using pandoc: /opt/connect/ext/pandoc/2.11
2021-12-12T02:10:25.204297+00:00 shinyapps[5308683]: Using jsonlite for JSON processing
2021-12-12T02:10:25.210680+00:00 shinyapps[5308683]:
2021-12-12T02:10:25.211143+00:00 shinyapps[5308683]: Shiny application starting ...
2021-12-12T02:10:25.210680+00:00 shinyapps[5308683]: Starting R with process ID: '123'
2021-12-12T02:10:26.425698+00:00 shinyapps[5308683]: ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ──
2021-12-12T02:10:26.430162+00:00 shinyapps[5308683]: :heavy_check_mark: ggplot2 3.3.2 :heavy_check_mark: purrr 0.3.4
2021-12-12T02:10:26.430163+00:00 shinyapps[5308683]: :heavy_check_mark: tibble 3.0.3 :heavy_check_mark: dplyr 1.0.2
2021-12-12T02:10:26.430163+00:00 shinyapps[5308683]: :heavy_check_mark: tidyr 1.1.1 :heavy_check_mark: stringr 1.4.0
2021-12-12T02:10:26.430164+00:00 shinyapps[5308683]: :heavy_check_mark: readr 1.3.1 :heavy_check_mark: forcats 0.5.0
2021-12-12T02:10:26.601165+00:00 shinyapps[5308683]: ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
2021-12-12T02:10:26.601166+00:00 shinyapps[5308683]: :heavy_multiplication_x: dplyr::filter() masks stats::filter()
2021-12-12T02:10:26.601167+00:00 shinyapps[5308683]: :heavy_multiplication_x: dplyr::lag() masks stats::lag()
2021-12-12T02:10:26.611646+00:00 shinyapps[5308683]: Attaching package: ‘shinydashboard’
2021-12-12T02:10:26.611645+00:00 shinyapps[5308683]:
2021-12-12T02:10:26.611646+00:00 shinyapps[5308683]:
2021-12-12T02:10:26.612398+00:00 shinyapps[5308683]: The following object is masked from ‘package:graphics’:
2021-12-12T02:10:26.612399+00:00 shinyapps[5308683]:
2021-12-12T02:10:26.612399+00:00 shinyapps[5308683]: box
2021-12-12T02:10:26.612400+00:00 shinyapps[5308683]:

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.