Shiny App Running Locally but just says Please Wait Eternally when published on free shiny server

Hi all,

My shiny app was running fine for about a year and decided to stop loading from my browser. It keeps saying please wait forever. I tried deleting the app off the shiny-server and republishing but that did not work. Did this happen to anyone else? Any tips?

Thanks!

Have you tried other browsers / computers?
Can you share the app address?
Might it have something to do with the url being case sensitive as mentioned here?

Hi @joshua31,

I have tried many browsers (Chrome, Safari, Samsung Internet). The app still gives me the Please Wait and never loading on both mobile and desktop devices on all browsers.

I cannot share the app address publicly unfortunately.

I have tried the capitalization issue and it did not fix the issue. I was using the right link.

Thanks,

Olivier

Ah dang. Unfortunately I probably can't be more help then.

Cab you check what your app's logs say? Maybe we can find a clue about what is going on.

It looks like it has something to do with the Out of Memory. Any idea on how to resolve this issue?

2021-09-23T18:51:28.868013+00:00 shinyapps[4678245]: :heavy_multiplication_x: lubridate::intersect() masks base::intersect()
2021-09-23T18:51:28.868014+00:00 shinyapps[4678245]: :heavy_multiplication_x: lubridate::union() masks base::union()
2021-09-23T18:51:28.978626+00:00 shinyapps[4678245]: summarise() has grouped output by 'player'. You can override using the .groups argument.
2021-09-23T18:51:28.868014+00:00 shinyapps[4678245]: :heavy_multiplication_x: dplyr::lag() masks stats::lag()
2021-09-23T18:51:28.868014+00:00 shinyapps[4678245]: :heavy_multiplication_x: lubridate::setdiff() masks base::setdiff()
2021-09-23T18:51:30.165243+00:00 shinyapps[system]: Out of memory!
2021-09-23T18:51:34.629762+00:00 shinyapps[4678245]: Running on host: 523a9629a656
2021-09-23T18:51:34.637575+00:00 shinyapps[4678245]: jsonlite version: 1.7.2
2021-09-23T18:51:34.637508+00:00 shinyapps[4678245]: shiny version: 1.6.0
2021-09-23T18:51:34.637535+00:00 shinyapps[4678245]: rmarkdown version: 2.7
2021-09-23T18:51:34.637465+00:00 shinyapps[4678245]: Server version: 1.8.6.1
2021-09-23T18:51:34.637476+00:00 shinyapps[4678245]: LANG: en_US.UTF-8
2021-09-23T18:51:34.637499+00:00 shinyapps[4678245]: R version: 4.0.4
2021-09-23T18:51:34.637582+00:00 shinyapps[4678245]: RJSONIO version: (none)
2021-09-23T18:51:34.827687+00:00 shinyapps[4678245]: Using jsonlite for JSON processing
2021-09-23T18:51:34.637527+00:00 shinyapps[4678245]: httpuv version: 1.5.5
2021-09-23T18:51:34.831461+00:00 shinyapps[4678245]: Starting R with process ID: '92'
2021-09-23T18:51:34.861903+00:00 shinyapps[4678245]: Listening on http://127.0.0.1:46735
2021-09-23T18:51:34.861902+00:00 shinyapps[4678245]:
2021-09-23T18:51:34.637757+00:00 shinyapps[4678245]: Using pandoc: /opt/connect/ext/pandoc/2.11
2021-09-23T18:51:34.637560+00:00 shinyapps[4678245]: knitr version: 1.31
2021-09-23T18:51:34.637592+00:00 shinyapps[4678245]: htmltools version: 0.5.1.1
2021-09-23T18:51:34.831460+00:00 shinyapps[4678245]:
2021-09-23T18:51:35.081860+00:00 shinyapps[4678245]: Loading required package: ggplot2
2021-09-23T18:51:35.588520+00:00 shinyapps[4678245]:
2021-09-23T18:51:35.588522+00:00 shinyapps[4678245]: Attaching package: ‘lubridate’
2021-09-23T18:51:35.588523+00:00 shinyapps[4678245]:
2021-09-23T18:51:35.589262+00:00 shinyapps[4678245]: The following object is masked from ‘package:vembedr’:
2021-09-23T18:51:35.589262+00:00 shinyapps[4678245]:
2021-09-23T18:51:35.589262+00:00 shinyapps[4678245]: hms
2021-09-23T18:51:35.589263+00:00 shinyapps[4678245]:
2021-09-23T18:51:35.589618+00:00 shinyapps[4678245]: date, intersect, setdiff, union
2021-09-23T18:51:35.589619+00:00 shinyapps[4678245]:
2021-09-23T18:51:35.589617+00:00 shinyapps[4678245]: The following objects are masked from ‘package:base’:
2021-09-23T18:51:35.589618+00:00 shinyapps[4678245]:
2021-09-23T18:51:35.972373+00:00 shinyapps[4678245]: ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ──
2021-09-23T18:51:35.977078+00:00 shinyapps[4678245]: :heavy_check_mark: tibble 3.1.0 :heavy_check_mark: dplyr 1.0.5
2021-09-23T18:51:35.977079+00:00 shinyapps[4678245]: :heavy_check_mark: tidyr 1.1.3 :heavy_check_mark: stringr 1.4.0
2021-09-23T18:51:35.977080+00:00 shinyapps[4678245]: :heavy_check_mark: readr 1.4.0 :heavy_check_mark: forcats 0.5.1
2021-09-23T18:51:36.064158+00:00 shinyapps[4678245]: :heavy_multiplication_x: lubridate::intersect() masks base::intersect()
2021-09-23T18:51:35.977080+00:00 shinyapps[4678245]: :heavy_check_mark: purrr 0.3.4
2021-09-23T18:51:36.064155+00:00 shinyapps[4678245]: ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
2021-09-23T18:51:36.064157+00:00 shinyapps[4678245]: :heavy_multiplication_x: dplyr::filter() masks stats::filter()
2021-09-23T18:51:36.064158+00:00 shinyapps[4678245]: :heavy_multiplication_x: lubridate::hms() masks vembedr::hms()
2021-09-23T18:51:36.166487+00:00 shinyapps[4678245]: summarise() has grouped output by 'player'. You can override using the .groups argument.
2021-09-23T18:51:36.064159+00:00 shinyapps[4678245]: :heavy_multiplication_x: lubridate::setdiff() masks base::setdiff()
2021-09-23T18:51:36.064158+00:00 shinyapps[4678245]: :heavy_multiplication_x: dplyr::lag() masks stats::lag()
2021-09-23T18:51:36.064156+00:00 shinyapps[4678245]: :heavy_multiplication_x: lubridate::as.difftime() masks base::as.difftime()
2021-09-23T18:51:36.064159+00:00 shinyapps[4678245]: :heavy_multiplication_x: lubridate::union() masks base::union()
2021-09-23T18:51:36.064157+00:00 shinyapps[4678245]: :heavy_multiplication_x: lubridate::date() masks base::date()
2021-09-23T18:51:37.260185+00:00 shinyapps[system]: Out of memory!

If you have a paid account, increase the instance size. Otherwise, try to reduce the amount of RAM memory required by your application. I can't give you more specific advice since you are not showing the code of your app.

Any idea how to decrease the RAM required by an application? Would it help to work with more efficient functions or is it the size of the data that is problematic?

Only if by efficient you mean smaller.

Very likely but we can't possibly know for sure. As I said, we can't give you any specific advice without a reproducible example (reprex) illustrating your issue.

Have a look at these resources, to see how to create one for a shiny app