Bad checksum on deployApp


When I try to deployApp(appName = "appName") I get the following error:

> rsconnect::deployApp(appName = "honeyApp", account = "jasonm")
Preparing to deploy application...Error: HTTP 400
bad checksum

Have tried multiple tokens and secrets and even changed the account name but nothing seems to work.

App is very simple and works fine using runApp() locally.

Verbose log below and looks like it might be authentication but have used setAccountInfo multiple times with multiple tokens.


> rsconnect::deployApp(appName = "honeyApp", account = "jasonm", logLevel = "verbose")
----- Deployment log started at  2019-03-26 19:22:12  -----
Deploy command: 
 rsconnect::deployApp(appName = "honeyApp", account = "jasonm",      logLevel = "verbose") 

Session information: 
R version 3.4.4 (2018-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.2 LTS

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/

 [1] LC_CTYPE=en_AU.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_AU.UTF-8        LC_COLLATE=en_AU.UTF-8    
 [7] LC_PAPER=en_AU.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] ggthemes_4.0.1 ggplot2_3.1.0  shinyjs_1.0    shiny_1.1.0    dplyr_0.7.6   

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.18     pillar_1.3.0     compiler_3.4.4   later_0.7.4     
 [5] plyr_1.8.3       bindr_0.1.1      bitops_1.0-6     tools_3.4.4     
 [9] digest_0.6.9     jsonlite_1.5     tibble_1.4.2     gtable_0.2.0    
[13] pkgconfig_2.0.1  rlang_0.2.2      bindrcpp_0.2.2   withr_2.0.0     
[17] stringr_1.2.0    grid_3.4.4       tidyselect_0.2.4 glue_1.3.0      
[21] R6_2.2.2         purrr_0.2.5      magrittr_1.5     scales_0.5.0    
[25] promises_1.0.1   htmltools_0.3.6  rsconnect_0.8.13 assertthat_0.2.0
[29] mime_0.4         xtable_1.8-2     colorspace_1.2-6 httpuv_1.4.5    
[33] stringi_1.2.4    RCurl_1.95-4.8   lazyeval_0.2.0   openssl_0.9.2   
[37] munsell_0.4.3    crayon_1.3.4    
[1] path    name    value   secure  expires
<0 rows> (or 0-length row.names)
GET /v1/applications/?filter=account_id:228608&filter=name:honeyApp&count=100&offset=0 1236ms
POST /v1/applications/ 1480ms
Error: HTTP 400
bad checksum
----- Deployment error -----
Error: HTTP 400
bad checksum
----- Error stack trace -----
8: stop("HTTP ", response$status, "\n", response$req$method, " ", 
       response$req$protocol, "://", response$req$host, response$req$port, 
       response$req$path, "\n", msg, call. = FALSE)
7: reportError(json$error)
6: handleResponse(POST_JSON(service, authInfo, "/applications/", 
5: client$createApplication(target$appName, target$appTitle, "shiny", 
4: applicationForTarget(client, accountDetails, target, forceUpdate)
3: force(code)
2: withStatus(paste0("Preparing to deploy ", assetTypeName), {
       application <- applicationForTarget(client, accountDetails, 
           target, forceUpdate)
1: rsconnect::deployApp(appName = "honeyApp", account = "jasonm", 
       logLevel = "verbose")

This topic was automatically closed 21 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.