Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite browser windows #87

Open
maria-VL opened this issue May 19, 2023 · 8 comments
Open

Infinite browser windows #87

maria-VL opened this issue May 19, 2023 · 8 comments

Comments

@maria-VL
Copy link

Hello!
I've tried the minimal example and when running the app it loops and opens up infinite browser windows.
Can anyone reproduce this behavior?

image


> sessionInfo()
R version 4.3.0 (2023-04-21)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.3.1

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/New_York
tzcode source: internal

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

other attached packages:
[1] shiny_1.7.4

loaded via a namespace (and not attached):
 [1] sass_0.4.6        auth0_0.2.3      
 [3] stringi_1.7.12    digest_0.6.31    
 [5] magrittr_2.0.3    pkgload_1.3.2    
 [7] fastmap_1.1.1     rprojroot_2.0.3  
 [9] jsonlite_1.8.4    processx_3.8.1   
[11] pkgbuild_1.4.0    sessioninfo_1.2.2
[13] urlchecker_1.0.1  ps_1.7.5         
[15] promises_1.2.0.1  httr_1.4.6       
[17] purrr_1.0.1       textshaping_0.3.6
[19] jquerylib_0.1.4   cli_3.6.1        
[21] rlang_1.1.1       crayon_1.5.2     
[23] ellipsis_0.3.2    remotes_2.4.2    
[25] withr_2.5.0       cachem_1.0.8     
[27] yaml_2.3.7        devtools_2.4.5   
[29] tools_4.3.0       memoise_2.0.1    
[31] httpuv_1.6.11     curl_5.0.0       
[33] vctrs_0.6.2       R6_2.5.1         
[35] mime_0.12         lifecycle_1.0.3  
[37] stringr_1.5.0     fs_1.6.2         
[39] htmlwidgets_1.6.2 usethis_2.1.6    
[41] miniUI_0.1.1.1    ragg_1.2.5       
[43] desc_1.4.2        callr_3.7.3      
[45] bslib_0.4.2       later_1.3.1      
[47] glue_1.6.2        profvis_0.3.8    
[49] Rcpp_1.0.10       systemfonts_1.0.4
[51] rstudioapi_0.14   xtable_1.8-4     
[53] htmltools_0.5.5   compiler_4.3.0   
[55] prettyunits_1.1.1

@magnus-sigurdsson
Copy link

I am facing the same issue. Did not have this issue with older version of auth0, but after updating to auth0_0.2.3 now having this issue always.

R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22621)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8

time zone: America/New_York
tzcode source: internal

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

other attached packages:
[1] plyr_1.8.8 magrittr_2.0.3 httr_1.4.6 shinyalert_3.0.0
[5] urltools_1.7.3 plotly_4.10.2 jsonlite_1.8.5 shinydashboardPlus_2.0.3
[9] shinyBS_0.61.1 shinydashboard_0.7.2 bslib_0.5.0 sentimentr_2.9.0
[13] ggeffects_1.2.3 fmsb_0.7.5 syuzhet_1.0.6 rtweet_1.1.0
[17] magick_2.7.4 png_0.1-8 mongolite_2.7.2 flexdashboard_0.6.1
[21] dotenv_1.0.3 tippy_0.1.0 shinyFeedback_0.4.0 shinyWidgets_0.7.6
[25] shinycustomloader_0.9.0 auth0_0.2.3 shinythemes_1.2.0 DT_0.28
[29] igraph_1.5.0 textstem_0.1.4 koRpus.lang.en_0.1-4 koRpus_0.13-8
[33] sylly_0.1-6 quanteda_3.3.1 wordcloud_2.6 RColorBrewer_1.1-3
[37] quantmod_0.4.23 TTR_0.24.3 fs_1.6.2 Rfast_2.0.7
[41] RcppZiggurat_0.1.6 Rcpp_1.0.10 text2vec_0.6.3 lubridate_1.9.2
[45] forcats_1.0.0 dplyr_1.1.2 purrr_1.0.1 readr_2.1.4
[49] tibble_3.2.1 tidyverse_2.0.0 gender_0.6.0 matrixStats_1.0.0
[53] caret_6.0-94 lattice_0.21-8 textclean_0.9.3 xts_0.13.1
[57] zoo_1.8-12 shinyjs_2.1.0 tidyr_1.3.0 gridExtra_2.3
[61] ggplot2_3.4.2 data.table_1.14.8 stringr_1.5.0 english_1.2-6
[65] imputeTS_3.3 kableExtra_1.3.4 knitr_1.43 formattable_0.2.1
[69] scales_1.2.1 openxlsx_4.2.5.2 highcharter_0.9.4 shiny_1.7.4

loaded via a namespace (and not attached):
[1] sylly.en_0.1-3 splines_4.3.1 later_1.3.1 triebeard_0.4.1
[5] hardhat_1.3.0 pROC_1.18.2 rpart_4.1.19 lifecycle_1.0.3
[9] globals_0.16.2 MASS_7.3-60 crosstalk_1.2.0 backports_1.4.1
[13] sass_0.4.6 rmarkdown_2.23 jquerylib_0.1.4 yaml_2.3.7
[17] rlist_0.4.6.2 fracdiff_1.5-2 httpuv_1.6.11 zip_2.3.0
[21] rvest_1.0.3 quadprog_1.5-8 nnet_7.3-19 ipred_0.9-14
[25] float_0.3-1 lava_1.7.2.1 listenv_0.9.0 qdapRegex_0.7.5
[29] parallelly_1.36.0 svglite_2.1.1 codetools_0.2-19 ggtext_0.1.2
[33] xml2_1.3.4 tidyselect_1.2.0 urca_1.3-3 stats4_4.3.1
[37] webshot_0.5.5 rsparse_0.5.1 ellipsis_0.3.2 survival_3.5-5
[41] iterators_1.0.14 systemfonts_1.0.4 foreach_1.5.2 tools_4.3.1
[45] glue_1.6.2 prodlim_2023.03.31 xfun_0.39 withr_2.5.0
[49] fastmap_1.1.1 fansi_1.0.4 digest_0.6.32 timechange_0.2.0
[53] R6_2.5.1 mime_0.12 colorspace_2.1-0 RhpcBLASctl_0.23-42
[57] utf8_1.2.3 generics_0.1.3 recipes_1.0.6 class_7.3-22
[61] stopwords_2.3 htmlwidgets_1.6.2 ModelMetrics_1.2.2.2 pkgconfig_2.0.3
[65] gtable_0.3.3 timeDate_4022.108 forecast_8.21 lmtest_0.9-40
[69] htmltools_0.5.5 stinepack_1.4 tseries_0.10-54 gower_1.0.1
[73] lgr_0.4.4 rstudioapi_0.14 tzdb_0.4.0 reshape2_1.4.4
[77] nlme_3.1-162 curl_5.0.1 cachem_1.0.8 parallel_4.3.1
[81] shinycssloaders_1.0.0 mlapi_0.1.1 pillar_1.9.0 vctrs_0.6.3
[85] promises_1.2.0.1 xtable_1.8-4 evaluate_0.21 cli_3.6.1
[89] compiler_4.3.1 rlang_1.1.1 crayon_1.5.2 future.apply_1.11.0
[93] stringi_1.7.12 viridisLite_0.4.2 assertthat_0.2.1 munsell_0.5.0
[97] lazyeval_0.2.2 Matrix_1.5-4.1 hms_1.1.3 future_1.33.0
[101] lexicon_1.2.1 fontawesome_0.5.1 gridtext_0.1.5 memoise_2.0.1
[105] broom_1.0.5 RcppParallel_5.1.7 fastmatch_1.1-3

@maria-VL
Copy link
Author

maria-VL commented Jul 5, 2023

Hi @magnus-sigurdsson I haven't been able to solve it. One thing I'll say is that I tested it in another machine and couldn't reproduce the issue.

@cwilligv
Copy link

cwilligv commented Aug 27, 2023

Hi all, I'm facing the same issue here, and like @maria-VL, I'm not getting this issue on another machine. The main difference between the two scenario is that the one that is not working is a shiny dashboard (bs4dash) and the other (that works) is just a regular fluidPage dashboard.
Another thing I noticed on the one that doesn't work (infinite IE window browsers) is that if I use my user in the parameter AUTH0_USER then I don't get all the infinite browser windows, however, the url doesn't load properly, it cuts everything before the @ and keep the gmail.com part of my user.

any ideas anyone?

@cwilligv
Copy link

I have gone back to auth0 version 0.2.1 and the infinite loop stopped, not happening on my local dev. Will test now the rest of the app and then will dockerise it and put it on the cloud. I'll come back once I finish this.

@cwilligv
Copy link

cwilligv commented Sep 5, 2023

Another update from me about this issue. I thought going back to 0.2.1 version had fixed it but after I closed RStudio and came back to work again on my project it started to happen again SO I tried changing the way I run the app and switched from "Run in Windows" to "Run External" which to my surprise it eliminated the infinite loop by opening the app directly on my browser. Again, I'm only sharing what has worked for me in case it works for others out there in the future.
Cheers.

@daattali
Copy link
Contributor

I just ran into this problem too, and it does seem (as @cwilligv points out) that using "Run External" fixed it.

The README does have a section warning of limitations within RStudio, perhaps this issue should be documented there.

@lucas-alcantara
Copy link

Same as @daattali. I am using 0.2.3 and I don't get this problem when using "Run External".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants