Attempting to deploy a shiny app on shinyapps.io (working perfectly fine locally). Here are the two issues I am facing:
- On initial app deployment success, I receive a 60.0 second timeout error with the reason that the server took too long. So i looked it up and tried using
app_init_timeout(180)
but i get the following error and the same 60.0 second timeout error on the app:
2020-05-09T08:36:33.034633+00:00 shinyapps[2270547]: Server version: 1.8.2-10
2020-05-09T08:36:33.034655+00:00 shinyapps[2270547]: LANG: en_US.UTF-8
2020-05-09T08:36:33.034656+00:00 shinyapps[2270547]: R version: 4.0.0
2020-05-09T08:36:33.034657+00:00 shinyapps[2270547]: httpuv version: 1.5.2
2020-05-09T08:36:33.034656+00:00 shinyapps[2270547]: shiny version: 1.4.0.2
2020-05-09T08:36:33.034871+00:00 shinyapps[2270547]: Using pandoc: /opt/connect/ext/pandoc2
2020-05-09T08:36:33.034668+00:00 shinyapps[2270547]: rmarkdown version: 2.1
2020-05-09T08:36:33.034668+00:00 shinyapps[2270547]: knitr version: 1.28
2020-05-09T08:36:33.034711+00:00 shinyapps[2270547]: RJSONIO version: (none)
2020-05-09T08:36:33.034676+00:00 shinyapps[2270547]: jsonlite version: 1.6.1
2020-05-09T08:36:33.034724+00:00 shinyapps[2270547]: htmltools version: 0.4.0
2020-05-09T08:36:33.186374+00:00 shinyapps[2270547]: Using jsonlite for JSON processing
2020-05-09T08:36:33.195118+00:00 shinyapps[2270547]:
2020-05-09T08:36:33.195119+00:00 shinyapps[2270547]: Starting R with process ID: '25'
2020-05-09T08:36:33.539213+00:00 shinyapps[2270547]: Preparing to deploy application...DONE
2020-05-09T08:36:37.375300+00:00 shinyapps[2270547]: Uploading bundle for application: 2270547...DONE
2020-05-09T08:36:37.382304+00:00 shinyapps[2270547]: Deploying bundle: 3123760 for application: 2270547 ...
2020-05-09T08:36:37.550791+00:00 shinyapps[2270547]: Waiting for task: 728567349
Error in app_init_timeout(180) :
could not find function "app_init_timeout"
- I then attempted updating my app to see if the app gets started sooner on update, here's my app starting error log after the app gets successfully deployed. I am unable to find a solution to my HTTP 409 error.
2020-05-09T08:29:58.829560+00:00 shinyapps[2270451]: Error in value[[3L]](cond) : HTTP 409
2020-05-09T08:29:58.829562+00:00 shinyapps[2270451]: POST https://api.shinyapps.io/v1/applications/2270451/deploy
2020-05-09T08:29:58.829563+00:00 shinyapps[2270451]: Unable to dispatch task for application=2270451, there are 1 tasks in progress
2020-05-09T08:29:58.829563+00:00 shinyapps[2270451]: Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
2020-05-09T08:29:58.829582+00:00 shinyapps[2270451]: Execution halted
Would love to learn how to do this right, any help is appreciated! Thank you!