Hi,
I'm getting the following error message when trying to deploy an app:
"Error: Unhandled Exception: HTTP 402: Payment Required".
From
https://groups.google.com/forum/#!topic/shinyapps-users/5BFLoiLN_94 I see that this issue can happen when you are not paying or your are out of active hours, etc. In my particular case, my personal account is maxed out (out of active hours until May 28th). However, I was just added as a member to a professional account that was created today (May 26th). That account is active and has plenty of space, and it's the one I'm trying to deploy to. We basically used my personal account to test the app and convince others we needed a professional account.
Is it a matter of waiting for the new professional account to be fully active? If so, how long should I wait. Or is this a bug because my personal account is maxed out?
Best,
Leonardo
The detail logs with R 3.2.4 are below:
> rsconnect::setAccountInfo(name=deploy_info$name, token=deploy_info$token,
+ secret=deploy_info$secret)
> deployApp(appFiles = c('ui.R', 'server.R', 'meta_web.Rdata', 'download.md',
+ 'www/ucsc-knowngene-hg38-genes-bp-length.Rdata',
+ 'www/ucsc-knowngene-hg38-exons.Rdata'), appName = 'recount')
Preparing to deploy application...DONE
Uploading bundle for application: 104563...DONE
Deploying bundle: 463698 for application: 104563 ...
Waiting for task: 183677750
building: Parsing manifest
building: Fetching packages
building: Installing packages
building: Installing files
building: Pushing image: 455845
error: Starting instances
################################ Begin Task Log ################################
[2016-05-26T18:50:01.630756519+0000] Installing R package: digest (0.6.9)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘digest’ ...
* DONE (digest)
[2016-05-26T18:50:01.935547642+0000] Installing R package: jsonlite (0.9.19)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘jsonlite’ ...
* DONE (jsonlite)
[2016-05-26T18:50:02.381076524+0000] Installing R package: Rcpp (0.12.4)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘Rcpp’ ...
* DONE (Rcpp)
[2016-05-26T18:50:03.720993022+0000] Installing R package: mime (0.4)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘mime’ ...
* DONE (mime)
[2016-05-26T18:50:03.978068298+0000] Installing R package: xtable (1.8-2)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘xtable’ ...
* DONE (xtable)
[2016-05-26T18:50:04.291467314+0000] Installing R package: yaml (2.1.13)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘yaml’ ...
* DONE (yaml)
[2016-05-26T18:50:04.579860380+0000] Installing R package: magrittr (1.5)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘magrittr’ ...
* DONE (magrittr)
[2016-05-26T18:50:04.849037848+0000] Installing R package: httpuv (1.3.3)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘httpuv’ ...
* DONE (httpuv)
[2016-05-26T18:50:05.255208242+0000] Installing R package: htmltools (0.3.5)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘htmltools’ ...
* DONE (htmltools)
[2016-05-26T18:50:05.539313126+0000] Installing R package: packrat (0.4.7-1)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘packrat’ ...
* DONE (packrat)
[2016-05-26T18:50:05.805288374+0000] Installing R package: htmlwidgets (0.6)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘htmlwidgets’ ...
* DONE (htmlwidgets)
[2016-05-26T18:50:06.183794458+0000] Installing R package: DT (0.1)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘DT’ ...
* DONE (DT)
[2016-05-26T18:50:06.642704463+0000] Installing R package: markdown (0.7.7)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘markdown’ ...
* DONE (markdown)
[2016-05-26T18:50:06.939864054+0000] Installing R package: R6 (2.1.2)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘R6’ ...
* DONE (R6)
[2016-05-26T18:50:07.238656614+0000] Installing R package: shiny (0.13.2)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘shiny’ ...
* DONE (shiny)
Generating locales...
en_US.UTF-8... done
Generation complete.
[2016-05-26T18:50:09.653592327+0000] Creating dir /srv/connect/apps/recount
[2016-05-26T18:50:09.661728124+0000] Copying file download.md
[2016-05-26T18:50:09.669912205+0000] Creating dir /srv/connect/apps/recount/packrat
[2016-05-26T18:50:09.677614032+0000] Creating dir /srv/connect/apps/recount/packrat/desc
[2016-05-26T18:50:09.685270766+0000] Copying file packrat/desc/htmltools
[2016-05-26T18:50:09.693245225+0000] Copying file packrat/desc/jsonlite
[2016-05-26T18:50:09.701245699+0000] Copying file packrat/desc/DT
[2016-05-26T18:50:09.709236154+0000] Copying file packrat/desc/htmlwidgets
[2016-05-26T18:50:09.717225397+0000] Copying file ui.R
[2016-05-26T18:50:09.725260624+0000] Copying file packrat/desc/Rcpp
[2016-05-26T18:50:09.733217464+0000] Copying file packrat/desc/xtable
[2016-05-26T18:50:09.741127078+0000] Copying file packrat/desc/digest
[2016-05-26T18:50:09.749090429+0000] Copying file packrat/desc/packrat
[2016-05-26T18:50:09.757033920+0000] Copying file packrat/desc/magrittr
[2016-05-26T18:50:09.765008348+0000] Copying file packrat/desc/R6
[2016-05-26T18:50:09.772929645+0000] Creating dir /srv/connect/apps/recount/www
[2016-05-26T18:50:09.780512949+0000] Copying file www/ucsc-knowngene-hg38-exons.Rdata
[2016-05-26T18:50:09.790479065+0000] Copying file packrat/desc/httpuv
[2016-05-26T18:50:09.798420916+0000] Copying file packrat/desc/shiny
[2016-05-26T18:50:09.806419195+0000] Copying file packrat/desc/markdown
[2016-05-26T18:50:09.814349892+0000] Copying file packrat/packrat.lock
[2016-05-26T18:50:09.822258329+0000] Copying file server.R
[2016-05-26T18:50:09.830381633+0000] Copying file meta_web.Rdata
[2016-05-26T18:50:09.839626588+0000] Copying file packrat/desc/yaml
[2016-05-26T18:50:09.848422702+0000] Copying file packrat/desc/mime
[2016-05-26T18:50:09.858330556+0000] Copying file www/ucsc-knowngene-hg38-genes-bp-length.Rdata
################################# End Task Log #################################
Error: Unhandled Exception: HTTP 402: Payment Required
> options(width = 120); devtools::session_info()
Session info -----------------------------------------------------------------------------------------------------------
setting value
version R version 3.2.4 Patched (2016-03-16 r70387)
system x86_64, darwin13.4.0
ui X11
language (EN)
collate en_US.UTF-8
tz America/New_York
date 2016-05-26
Packages ---------------------------------------------------------------------------------------------------------------
package * version date source
BiocInstaller 1.20.1 2015-11-18 Bioconductor
bitops 1.0-6 2013-08-17 CRAN (R 3.2.0)
colorout * 1.1-2 2016-03-29 Github (jalvesaq/colorout@f96c00c)
devtools 1.10.0 2016-01-23 CRAN (R 3.2.3)
digest 0.6.9 2016-01-08 CRAN (R 3.2.3)
memoise 1.0.0 2016-01-29 CRAN (R 3.2.3)
packrat 0.4.7-1 2016-03-28 CRAN (R 3.2.4)
RCurl 1.95-4.8 2016-03-01 CRAN (R 3.2.4)
RJSONIO 1.3-0 2014-07-28 CRAN (R 3.2.0)
rsconnect * 0.4.2 2016-03-20 CRAN (R 3.2.4)
>
I get the same error using R 3.3.0:
> library('rsconnect')
> load('.deploy_info.Rdata')
> rsconnect::setAccountInfo(name=deploy_info$name, token=deploy_info$token,
+ secret=deploy_info$secret)
> deployApp(appFiles = c('ui.R', 'server.R', 'meta_web.Rdata', 'download.md',
+ 'www/ucsc-knowngene-hg38-genes-bp-length.Rdata',
+ 'www/ucsc-knowngene-hg38-exons.Rdata'), appName = 'recount')
Preparing to deploy application...DONE
Uploading bundle for application: 104563...--- Please select a CRAN mirror for use in this session ---
DONE
Deploying bundle: 463700 for application: 104563 ...
Waiting for task: 183679237
building: Parsing manifest
building: Fetching packages
building: Installing packages
building: Installing files
building: Pushing image: 455847
deploying: Starting instances
################################ Begin Task Log ################################
[2016-05-26T18:53:15.220602703+0000] Installing R package: digest (0.6.9)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘digest’ ...
* DONE (digest)
[2016-05-26T18:53:15.503660488+0000] Installing R package: jsonlite (0.9.20)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘jsonlite’ ...
* DONE (jsonlite)
[2016-05-26T18:53:15.887168877+0000] Installing R package: Rcpp (0.12.5)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘Rcpp’ ...
* DONE (Rcpp)
[2016-05-26T18:53:17.240202159+0000] Installing R package: mime (0.4)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘mime’ ...
* DONE (mime)
[2016-05-26T18:53:17.478451238+0000] Installing R package: xtable (1.8-2)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘xtable’ ...
* DONE (xtable)
[2016-05-26T18:53:17.767174201+0000] Installing R package: yaml (2.1.13)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘yaml’ ...
* DONE (yaml)
[2016-05-26T18:53:18.170684738+0000] Installing R package: magrittr (1.5)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘magrittr’ ...
* DONE (magrittr)
[2016-05-26T18:53:18.424960708+0000] Installing R package: httpuv (1.3.3)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘httpuv’ ...
* DONE (httpuv)
[2016-05-26T18:53:18.810924261+0000] Installing R package: htmltools (0.3.5)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘htmltools’ ...
* DONE (htmltools)
[2016-05-26T18:53:19.077839285+0000] Installing R package: packrat (0.4.7-1)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘packrat’ ...
* DONE (packrat)
[2016-05-26T18:53:19.328507196+0000] Installing R package: htmlwidgets (0.6)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘htmlwidgets’ ...
* DONE (htmlwidgets)
[2016-05-26T18:53:19.678208351+0000] Installing R package: DT (0.1)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘DT’ ...
* DONE (DT)
[2016-05-26T18:53:20.057910720+0000] Installing R package: markdown (0.7.7)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘markdown’ ...
* DONE (markdown)
[2016-05-26T18:53:20.342785597+0000] Installing R package: R6 (2.1.2)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘R6’ ...
* DONE (R6)
[2016-05-26T18:53:20.617335097+0000] Installing R package: shiny (0.13.2)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘shiny’ ...
* DONE (shiny)
Generating locales...
en_US.UTF-8... done
Generation complete.
[2016-05-26T18:53:23.119506954+0000] Creating dir /srv/connect/apps/recount
[2016-05-26T18:53:23.128116767+0000] Copying file download.md
[2016-05-26T18:53:23.136852387+0000] Creating dir /srv/connect/apps/recount/packrat
[2016-05-26T18:53:23.145630326+0000] Creating dir /srv/connect/apps/recount/packrat/desc
[2016-05-26T18:53:23.154953377+0000] Copying file packrat/desc/htmltools
[2016-05-26T18:53:23.164619182+0000] Copying file packrat/desc/jsonlite
[2016-05-26T18:53:23.177427854+0000] Copying file packrat/desc/DT
[2016-05-26T18:53:23.185908153+0000] Copying file packrat/desc/htmlwidgets
[2016-05-26T18:53:23.194125940+0000] Copying file ui.R
[2016-05-26T18:53:23.202339843+0000] Copying file packrat/desc/Rcpp
[2016-05-26T18:53:23.210853532+0000] Copying file packrat/desc/xtable
[2016-05-26T18:53:23.220914244+0000] Copying file packrat/desc/digest
[2016-05-26T18:53:23.230937116+0000] Copying file packrat/desc/packrat
[2016-05-26T18:53:23.240857011+0000] Copying file packrat/desc/magrittr
[2016-05-26T18:53:23.250744046+0000] Copying file packrat/desc/R6
[2016-05-26T18:53:23.260656761+0000] Creating dir /srv/connect/apps/recount/www
[2016-05-26T18:53:23.270180231+0000] Copying file www/ucsc-knowngene-hg38-exons.Rdata
[2016-05-26T18:53:23.283231539+0000] Copying file packrat/desc/httpuv
[2016-05-26T18:53:23.293165046+0000] Copying file packrat/desc/shiny
[2016-05-26T18:53:23.303038132+0000] Copying file packrat/desc/markdown
[2016-05-26T18:53:23.312965920+0000] Copying file packrat/packrat.lock
[2016-05-26T18:53:23.322885069+0000] Copying file server.R
[2016-05-26T18:53:23.332786999+0000] Copying file meta_web.Rdata
[2016-05-26T18:53:23.344292844+0000] Copying file packrat/desc/yaml
[2016-05-26T18:53:23.354186727+0000] Copying file packrat/desc/mime
[2016-05-26T18:53:23.364076569+0000] Copying file www/ucsc-knowngene-hg38-genes-bp-length.Rdata
################################# End Task Log #################################
Error: Unhandled Exception: HTTP 402: Payment Required
> options(width = 120); devtools::session_info()
Session info -----------------------------------------------------------------------------------------------------------
setting value
version R version 3.3.0 RC (2016-05-01 r70572)
system x86_64, darwin13.4.0
ui X11
language (EN)
collate en_US.UTF-8
tz America/New_York
date 2016-05-26
Packages ---------------------------------------------------------------------------------------------------------------
package * version date source
BiocInstaller 1.22.2 2016-05-12 Bioconductor
bitops 1.0-6 2013-08-17 CRAN (R 3.3.0)
colorout * 1.1-2 2016-05-05 Github (jalvesaq/colorout@6538970)
devtools 1.11.1 2016-04-21 CRAN (R 3.3.0)
digest 0.6.9 2016-01-08 CRAN (R 3.3.0)
memoise 1.0.0 2016-01-29 CRAN (R 3.3.0)
packrat 0.4.7-1 2016-03-28 CRAN (R 3.3.0)
RCurl 1.95-4.8 2016-03-01 CRAN (R 3.3.0)
RJSONIO 1.3-0 2014-07-28 CRAN (R 3.3.0)
rsconnect * 0.4.3 2016-05-02 CRAN (R 3.3.0)
withr 1.0.1 2016-02-04 CRAN (R 3.3.0)