Shiny Crashing during App Deployment

Hello community, I'm having issues... I can get this exact shiny app to deploy on another computer, but my own doesn't work. the versions of R, R Studio, Shiny, and all packages are all exactly the same. This is the error - it is a timeout error , which is thrown when attempting to build the package "Boom" (part of BSTS).

Preparing to deploy application...DONE
Uploading bundle for application: 845239...DONE
Deploying bundle: 1994013 for application: 845239 ...
Waiting for task: 602657983
  building: Parsing manifest
  building: Building image: 2093937
  building: Installing system dependencies
  building: Fetching packages
  building: Building package: Boom
################################ Begin Task Log ################################ 


[2019-04-08T05:41:22.758967259+0000] Execute script: packages/build/sys.sh
+ set -e
+ apt-get update -qq
+ apt-get install -y libapparmor-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  libapparmor-dev
0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.
Need to get 67.5 kB of archives.
After this operation, 228 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapparmor-dev amd64 2.10.95-0ubuntu2.10 [67.5 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 67.5 kB in 0s (0 B/s)
Selecting previously unselected package libapparmor-dev:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 119344 files and directories currently installed.)
Preparing to unpack .../libapparmor-dev_2.10.95-0ubuntu2.10_amd64.deb ...
Unpacking libapparmor-dev:amd64 (2.10.95-0ubuntu2.10) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libapparmor-dev:amd64 (2.10.95-0ubuntu2.10) ...################################# End Task Log ################################# 
Error: Unhandled Exception: Child Task 602657986 error: Unhandled Exception: HTTP 599: Timeout during request
Execution halted

- Cite output of "rsconnect::appDependencies()"

rsconnect::appDependencies()
Error in bundleFiles(appDir) :
The directory C:/Users/[myname]/Documents cannot be deployed because it contains too many files (the maximum number of files is 10000). Remove some files or adjust the rsconnect.max.bundle.files option.

- Provide your shiny app's application URL/id.
https://ryanclukey.shinyapps.io/forecast4/

This seems odd in that the "Uploading bundle" is done locally, but the task step is done on the deployment server.

Just to be safe, please double check that sessioninfo::session_info() is the same on both machines.

Are both machines deploying to the same account / server?

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