Error 599 Timeout

shinyappsio
shiny-deploy

#1

In the procces of deploying an app to Shinyapps.io I'm getting this error:

################################ Begin Task Log ################################
[2018-06-02T12:56:37.263197672+0000] Execute script: packages/build/udunits2.sh

  • set -e
  • apt-get update -qq
  • apt-get install -y libudunits2-dev
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    libudunits2-0
    The following NEW packages will be installed:
    libudunits2-0 libudunits2-dev
    0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
    Need to get 430 kB of archives.
    After this operation, 992 kB of additional disk space will be used.
    Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libudunits2-0 amd64 2.2.20-1 [69.5 kB]
    Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libudunits2-dev amd64 2.2.20-1 [360 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 430 kB in 0s (26.3 MB/s)
    Selecting previously unselected package libudunits2-0:amd64.
    (Reading database ... 119115 files and directories currently installed.)
    Preparing to unpack .../libudunits2-0_2.2.20-1_amd64.deb ...
    Unpacking libudunits2-0:amd64 (2.2.20-1) ...
    Selecting previously unselected package libudunits2-dev.
    Preparing to unpack .../libudunits2-dev_2.2.20-1_amd64.deb ...
    Unpacking libudunits2-dev (2.2.20-1) ...
    Processing triggers for libc-bin (2.23-0ubuntu10) ...
    Setting up libudunits2-0:amd64 (2.2.20-1) ...
    Setting up libudunits2-dev (2.2.20-1) ...
    Processing triggers for libc-bin (2.23-0ubuntu10) ...
    ################################# End Task Log #################################
    Error: Unhandled Exception: Child Task 529349400 error: Unhandled Exception: HTTP 599: Timeout

And just i can't figure it if the error have to be with the upload to servers (connetion failures) or just with some package of my app.

I have in my app the bioconductor package "reactome.db" wich has 500megabytes of size , so I don't know if the size of the package is causing the issue.


rsconnect::deployApp - Unhandled Exception: HTTP 599: Timeout
#2

Hi,
I have almost exactly the same problem. Did you manage to solve it? Feedback would be great!
Cheers,
Lech


#3

Hi, I think the 599 timeout error is a conneciton error, can be both for your connection or shinyapps.io connection isues, i try several times till I was able to push the app.

Cheers,

eirr


#4

I'm having the same issue: repeatedly getting the following message when I try to upload my updated app to shinyapps.io.

My error message...

Error: Unhandled Exception: Child Task 543634701 error: Unhandled Exception: HTTP 599: Timeout during request

Additionally, I get the following message when I try to restart the application from my dashboard...

Waiting for task: 543638153
deploying: Starting instances
Error: Unhandled Exception: Child Task 543638177 error: Unhandled Exception: HTTP 599: Timeout during request

I've seen solutions to keep trying, but wondering if there's another way.


#5

Looks like it worked on the 7th or 8th try...


#6

I am having the same issues with multiple accounts and multiple apps. I saw this a few weeks ago and it was corrected. I am assuming it is an issue with the shinyapps.io service. I have a ticket is with support.

Craig


#7

I'm having the same issue. I've attempted to deploy 3 times now, with the same error. Based on the timestamps, it's failing after that last "copying file." The same app deployed without issues last week.

Preparing to deploy application...DONE
Uploading bundle for application: 399820...DONE
Deploying bundle: 1545450 for application: 399820 ...
Waiting for task: 544575068
  building: Parsing manifest
  building: Building image: 1561411
  building: Fetching packages
  building: Installing packages
  building: Installing files
  building: Pushing image: 1561411
################################ Begin Task Log ################################ 
[2018-08-20T22:02:25.857208817+0000] Installing R package: crayon (1.3.4)
* installing to library ‘/opt/R/3.5.0/lib/R/library’
* installing *binary* package ‘crayon’ ...
* DONE (crayon)
...
Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.
[2018-08-20T22:03:07.640935289+0000] Creating dir ...
...
[2018-08-20T22:03:07.994367805+0000] Copying file packrat/desc/stringi
[2018-08-20T22:03:07.997552940+0000] Copying file packrat/desc/bit
################################# End Task Log ################################# 
Error: Unhandled Exception: Child Task 544575069 error: Unhandled Exception: HTTP 599: Timeout during request
Execution halted

#8

And to followup, I was able to deploy normally this morning, but it does sound like there's some sort of intermittent issue with Shinyapps.io deployment...