MarkEdmondson1234 / googleAuthR

Google API Client Library for R. Easy authentication and help to build Google API R libraries with OAuth2. Shiny compatible.
https://code.markedmondson.me/googleAuthR
Other
175 stars 54 forks source link

An error has occurred Unable to connect to worker after 60.00 seconds; startup took too long. Contact the author for more information. #231

Open ShimonaSeth opened 7 months ago

ShimonaSeth commented 7 months ago

I have been working on a shiny app that uses a google login which works perfect locally but as soon as I deploy it on shinyapps.io I get the error : An error has occurred Unable to connect to worker after 60.00 seconds; startup took too long. I have provided a log below, kindly look through it as I am unable to figure out what is wrong.

Here's the log for it:

2024-01-30T13:16:51.543615+00:00 shinyapps[10978550]: ================================================== 2024-01-30T13:16:51.548456+00:00 shinyapps[10978550]: downloaded 566 KB 2024-01-30T13:16:51.552916+00:00 shinyapps[10978550]: 2024-01-30T13:16:51.557513+00:00 shinyapps[10978550]: trying URL 'http://cran.rstudio.com/src/contrib/ggrepel_0.9.5.tar.gz' 2024-01-30T13:16:51.562069+00:00 shinyapps[10978550]: Content type 'application/x-gzip' length 151033 bytes (147 KB) 2024-01-30T13:16:51.566632+00:00 shinyapps[10978550]: ================================================== 2024-01-30T13:16:51.571139+00:00 shinyapps[10978550]: downloaded 147 KB 2024-01-30T13:16:51.575610+00:00 shinyapps[10978550]: 2024-01-30T13:16:51.580296+00:00 shinyapps[10978550]: trying URL 'http://cran.rstudio.com/src/contrib/ggsci_3.0.0.tar.gz' 2024-01-30T13:16:51.585123+00:00 shinyapps[10978550]: Content type 'application/x-gzip' length 2312683 bytes (2.2 MB) 2024-01-30T13:16:51.589773+00:00 shinyapps[10978550]: ================================================== 2024-01-30T13:16:51.594441+00:00 shinyapps[10978550]: downloaded 2.2 MB 2024-01-30T13:16:51.599080+00:00 shinyapps[10978550]: 2024-01-30T13:16:51.603931+00:00 shinyapps[10978550]: trying URL 'http://cran.rstudio.com/src/contrib/cowplot_1.1.3.tar.gz' 2024-01-30T13:16:51.608396+00:00 shinyapps[10978550]: Content type 'application/x-gzip' length 1350286 bytes (1.3 MB) 2024-01-30T13:16:52.547377+00:00 shinyapps[10978550]: ================================================== 2024-01-30T13:16:52.552258+00:00 shinyapps[10978550]: downloaded 1.3 MB 2024-01-30T13:16:52.556985+00:00 shinyapps[10978550]: 2024-01-30T13:16:52.561664+00:00 shinyapps[10978550]: trying URL 'http://cran.rstudio.com/src/contrib/ggsignif_0.6.4.tar.gz' 2024-01-30T13:16:52.566342+00:00 shinyapps[10978550]: Content type 'application/x-gzip' length 587393 bytes (573 KB) 2024-01-30T13:16:52.571000+00:00 shinyapps[10978550]: ================================================== 2024-01-30T13:16:52.575787+00:00 shinyapps[10978550]: downloaded 573 KB 2024-01-30T13:16:52.580919+00:00 shinyapps[10978550]: 2024-01-30T13:16:52.585523+00:00 shinyapps[10978550]: trying URL 'http://cran.rstudio.com/src/contrib/polynom_1.4-1.tar.gz' 2024-01-30T13:16:52.590090+00:00 shinyapps[10978550]: Content type 'application/x-gzip' length 334803 bytes (326 KB) 2024-01-30T13:16:52.594786+00:00 shinyapps[10978550]: ================================================== 2024-01-30T13:16:52.599588+00:00 shinyapps[10978550]: downloaded 326 KB 2024-01-30T13:16:52.604153+00:00 shinyapps[10978550]: 2024-01-30T13:16:52.608963+00:00 shinyapps[10978550]: trying URL 'http://cran.rstudio.com/src/contrib/rstatix_0.7.2.tar.gz' 2024-01-30T13:16:52.613783+00:00 shinyapps[10978550]: Content type 'application/x-gzip' length 405256 bytes (395 KB) 2024-01-30T13:16:53.543627+00:00 shinyapps[10978550]: ================================================== 2024-01-30T13:16:53.548561+00:00 shinyapps[10978550]: downloaded 395 KB 2024-01-30T13:16:53.553231+00:00 shinyapps[10978550]: 2024-01-30T13:16:53.558000+00:00 shinyapps[10978550]: trying URL 'http://cran.rstudio.com/src/contrib/ggpubr_0.6.0.tar.gz' 2024-01-30T13:16:53.562512+00:00 shinyapps[10978550]: Content type 'application/x-gzip' length 1941659 bytes (1.9 MB) 2024-01-30T13:16:53.567018+00:00 shinyapps[10978550]: ================================================== 2024-01-30T13:16:53.572519+00:00 shinyapps[10978550]: downloaded 1.9 MB 2024-01-30T13:16:53.577116+00:00 shinyapps[10978550]: 2024-01-30T13:16:56.544019+00:00 shinyapps[10978550]: installing source package ‘pkgbuild’ ... 2024-01-30T13:16:56.551086+00:00 shinyapps[10978550]: package ‘pkgbuild’ successfully unpacked and MD5 sums checked 2024-01-30T13:16:56.556905+00:00 shinyapps[10978550]: using staged installation 2024-01-30T13:16:56.561823+00:00 shinyapps[10978550]: R 2024-01-30T13:17:21.949543+00:00 shinyapps[10978550]: byte-compile and prepare package for lazy loading 2024-01-30T13:17:24.544136+00:00 shinyapps[10978550]: help 2024-01-30T13:17:24.549117+00:00 shinyapps[10978550]: installing help indices 2024-01-30T13:17:24.554131+00:00 shinyapps[10978550]: building package indices 2024-01-30T13:17:24.559480+00:00 shinyapps[10978550]: testing if installed package can be loaded from temporary location 2024-01-30T13:17:24.564444+00:00 shinyapps[10978550]: testing if installed package can be loaded from final location 2024-01-30T13:17:25.543628+00:00 shinyapps[10978550]: testing if installed package keeps a record of temporary installation path 2024-01-30T13:17:25.549487+00:00 shinyapps[10978550]: * DONE (pkgbuild)

MarkEdmondson1234 commented 7 months ago

I guess your log got cut off as there is nothing relevant here that can help diagnose it. I suggest using a more up to date package though such as Firebase or gargle as you'll have better support