I have a shiny app that includes a helper.R file and a data.txt file. It seemingly runs fine locally, but when I go to deploy it on shinyapps.io, I get:
Preparing to deploy application...DONE
Uploading bundle for application: 57723...DONE
Deploying bundle: 250119 for application: 57723 ...
Waiting for task: 71388412
################################ Begin Task Log ################################
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 71388413 error: Unhandled Exception:
Each time the task number changes (I've also had 71387628, 71387509, 71386087, 71375249, 713*****). I'm running r version 3.2.1 (World-Famous-Astronaut) on Platform: x86_64-apple-darwin13.4.0 (64-bit). The data file is 1.1MB, so the file size should not be the issue. The only library I'm using is data.table which is from CRAN.
What might be the issue?
It's just that the upload server that got trashed. The Coursera Data Science Capstone was due to day right around that time, so a thousand or so people all flooded it at once, and it went down. No idea when it'll be back up though.
Related
Since yesterday evening I could easily deploy and update my shiny application on shinyapps.io. Today I made few changes, tried to deploy again, and I am getting the following error which I don't know what it refers to:
Preparing to deploy application...DONE
Uploading bundle for application: 1099846...DONE
Deploying bundle: 6170071 for application: 1099846 ...
Waiting for task: 1198780170
error: Processing bundle: 6170071
################################ Begin Task Log ################################
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 1198780173 error: Unhandled Exception: An error occurred (ExpiredTokenException) when calling the AssumeRoleWithWebIdentity operation: Token expired: current date/time 1659692079 must be before the expiration date/time16596
Execution halted
I tried to create a new token on shinyapps.io for the rsconnect package, but it doesn't work. Do you know how to solve this problem? Thanks
UPDATE: I tried to re-deploy it one time and it worked, then I tried again and it's not working again.
I also went on the shinyapps.io website, and tried to delete an old application, and I got the same error. Does it means they're having problems on their side?
Just had the same issue. I went on to my Shinyapps dashboard and re-copied across the token and secret from there to our GitHub repo settings. Re-deployed and all went well.
I have lately been trying to upload our UI-tests to App Center through an Azure DevOps pipeline task and seem to always run into this error. The same error also occurs if I try to run the CLI command locally. Our project is a cross platform Xamarin.Forms app using the Xamarin.UITest test framework.
The specified error:
Test chunking failed: Specified method is not supported.
Preparing tests... failed.
Error: Cannot prepare UI Test artifacts using command: C:\Users\VssAdministrator.nuget\packages\xamarin.uitest\3.0.7\tools\test-cloud.exe prepare "D:/a/1/b/Debug/Project.dev.apk" --assembly-dir "D:\a\1\s\ Project.UITest\bin\Debug" --artifacts-dir "D:\a\1\a\AppCenterTest".
Test chunking failed, please try again. If you can't work out how to fix this issue, please contact support.
##[error]Error: D:\a_tasks\AppCenterTest\1.152.3\node_modules.bin\appcenter.cmd failed with return code: 3
Any help is most appreciated.
everyone!
I am having problems deploying my Shiny App. When deploying the app, I get the following console output:
Preparing to deploy application...DONE
Uploading bundle for application: 177552...DONE
Deploying bundle: 813581 for application: 177552 ...
Waiting for task: 383835116
building: Parsing manifest
################################ Begin Task Log ################################
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 383835121 failed: Error parsing manifest: Manifest file manifest.json checksum mismatch
Execution halted
Please take into account the following facts:
I've already checked this solution, and it didn't work:
Deploy R app in shinyapps.io- Error:parsing manifest [SOLVED]
Also, I've had saved a previous working version of the app, downloaded it back via the "download bundle" option of ShainyApps, and I get the same message.
What can I do in order to solve this? Thanks a lot! Don't hesitate to ask me for further details if necessary.
Adding to Elias's answer. When you download a Shiny bundle, there is a file included called "manifest.json". Checksum error here.
Delete "manifest.json" and deploy app again.
Maybe it's not a solution, but it's a way of preventing the error. The "trigger" of the error is the fact that I was working on the Shiny bundle obtained using "download bundle" option of ShinyApps. It's possible it has to do with the encoding or the MD5 checksum, but NEVER work on files from the bundle. I can state the aforementioned as I had a copy on GitHub, cloned it, worked on it, deployed the new version, and it worked! Thanks!
I have a shiny app that depends on a GitHub package. I recently updated the GitHub package, so I want to republish the shiny app as well. I have made no changes to the shiny app code at all, and it runs without error in RStudio. But, when I go to republish it, I get these messages in the Deploy tab of RStudio.
Preparing to deploy document...DONE
Uploading bundle for document: 96244...DONE
Deploying bundle: 426681 for document: 96244 ...
Waiting for task: 180459152
building: Parsing manifest
building: Building image: 419646
building: Building package: xtable
################################ Begin Task Log ################################
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 180459153 error: Unhandled Exception: HTTP 599: Connection closed
Execution halted
I am running the latest versions of R (3.2.5) and RStudio (0.99.893) on Windows 7, and I made sure all the packages have been updated.
I searched around for folks reporting similar errors (and solutions) and found didn't find anything helpful.
I'd appreciate any tips.
Links:
Shiny app - if it says "Last modified: 7 January 2016", it's still the old version that I'm trying to replace.
Code for shiny app
GitHub package
Did you update to R 3.2.5? It seems shinyapps.io is not ready for this.
I had these errors yesterday. Roll back to 3.2.4 and it will work.
Note this is confirmed in shinyapps forum:
"Is it at all possible that you are running with R version 3.2.5? If
so, downgrading to 3.2.4 should fix this issue. The error message
should be saying something like: shinyapps.io doesn't support this
version of R yet."
I am trying to deploy a local example-application on R's shinyapps.io (currently in beta, I suppose). I have installed the latest version of shinyapps package, in particular 0.3.64.
First I'm detecting the PC locale (windows) using the shinyapps detectlocale() function. el_EL is detected (this is acually my locale: greek).
Then, I run the deployApp function:
shinyapps::deployApp('C:/Users/vaef/Downloads/ShinyApps/04_mpgAllVars')
I get an "Error parsing manifest" error due to unsupported locale and thus my application remains undeployed:
Preparing to deploy application...
Update application currently deployed at
http://vaef.shinyapps.io/04_mpgAllVars? [Y/n] Y
DONE
Uploading application bundle...DONE
Deploying application: 41592...
Waiting for task: 31035189
error: Parsing manifest
############################ Begin Log ##################################
############################# End Log ###################################
Error: Unhandled Exception: Child Task 31035190 failed: Error parsing manifest: Unsupported locale: el_EL.UTF-8
I assume that el_EL is not yet supported - or has something to do with UTF-8? ANY HELP?