rstudio / shinyloadtest

Tools for load testing Shiny applications
https://rstudio.github.io/shinyloadtest/
110 stars 22 forks source link

Could not fetch https://fonts.googleapis.com/css?family=Inconsolata #143

Open bakaburg1 opened 3 years ago

bakaburg1 commented 3 years ago

Hello, the report generation is failing for me. I have a pandoc error saying that it cannot fetch a Google font.

> shinyloadtest::load_runs("run1") %>% shinyloadtest::shinyloadtest_report("run1.html")

  Could not find a valid maintenance period.                                                                
  Make sure at least one complete iteration exists between the latest user start time and the earliest user end time.
  Setting the maintenance period to be whole run.
run1 - Saving HTML [=================================>] 111/112 eta: 0sCould not fetch https://fonts.googleapis.com/css?family=Inconsolata
HttpExceptionRequest Request {
  host                 = "fonts.googleapis.com"
  port                 = 443
  secure               = True
  requestHeaders       = []
  path                 = "/css"
  queryString          = "?family=Inconsolata"
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
}
 ConnectionTimeout
Errore: pandoc document conversion failed with error 61

There's also the warning: "Could not find a valid maintenance period" but I don't think is relevant.

My pandoc version is 2.11.2.

> sessionInfo()
R version 4.0.5 (2021-03-31)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

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

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

other attached packages:
 [1] tidytrees_0.2.2     pROC_1.17.0.1       magrittr_2.0.1     
 [4] pbmcapply_1.5.0     pbapply_1.4-3       readr_1.4.0        
 [7] glue_1.4.2          bartMachine_1.2.6   missForest_1.4     
[10] itertools_0.1-3     iterators_1.0.13    foreach_1.5.1      
[13] randomForest_4.6-14 bartMachineJARs_1.1 rJava_0.9-13       
[16] bayestestR_0.8.2    partykit_1.2-11     mvtnorm_1.1-1      
[19] libcoin_1.0-7       readxl_1.3.1        stringr_1.4.0      
[22] dplyr_1.0.5        

loaded via a namespace (and not attached):
 [1] websocket_1.4.0      colorspace_2.0-0     ellipsis_0.3.2      
 [4] rsconnect_0.8.16     rprojroot_2.0.2      fs_1.5.0            
 [7] rstudioapi_0.13      farver_2.1.0         remotes_2.2.0       
[10] svUnit_1.0.3         bit64_4.0.5          fansi_0.4.2         
[13] lubridate_1.7.10     xml2_1.3.2           codetools_0.2-18    
[16] splines_4.0.5        cachem_1.0.4         knitr_1.31          
[19] pkgload_1.1.0        shinyloadtest_1.1.0  Formula_1.2-4       
[22] jsonlite_1.7.2       ggdist_2.4.0         compiler_4.0.5      
[25] assertthat_0.2.1     Matrix_1.3-2         fastmap_1.1.0       
[28] cli_2.5.0            later_1.2.0          htmltools_0.5.1.1   
[31] prettyunits_1.1.1    tools_4.0.5          coda_0.19-4         
[34] gtable_0.3.0         tinytex_0.30         Rcpp_1.0.6          
[37] cellranger_1.1.0     vctrs_0.3.8          svglite_2.0.0       
[40] nlme_3.1-152         insight_0.12.0       inum_1.0-2          
[43] xfun_0.22            ps_1.6.0             testthat_3.0.1      
[46] lifecycle_1.0.0      tidybayes_2.3.1      devtools_2.3.2      
[49] scales_1.1.1         vroom_1.4.0          ragg_0.4.1          
[52] hms_1.0.0            promises_1.2.0.1     yaml_2.2.1          
[55] curl_4.3.1           memoise_2.0.0        ggplot2_3.3.3       
[58] rpart_4.1-15         stringi_1.5.3        desc_1.3.0          
[61] pkgbuild_1.2.0       rlang_0.4.11         pkgconfig_2.0.3     
[64] systemfonts_1.0.0    distributional_0.2.2 evaluate_0.14       
[67] lattice_0.20-41      purrr_0.3.4          labeling_0.4.2      
[70] bit_4.0.4            processx_3.5.2       tidyselect_1.1.1    
[73] plyr_1.8.6           R6_2.5.0             generics_0.1.0      
[76] DBI_1.1.1            pillar_1.6.0         withr_2.4.1         
[79] mgcv_1.8-34          survival_3.2-10      tibble_3.1.1        
[82] crayon_1.4.1         arrayhelpers_1.1-0   utf8_1.2.1          
[85] rmarkdown_2.7        progress_1.2.2       usethis_2.0.0       
[88] callr_3.5.1          forcats_0.5.1        digest_0.6.27       
[91] tidyr_1.1.3          httpuv_1.6.0         textshaping_0.2.1   
[94] munsell_0.5.0        sessioninfo_1.1.1  
GitHunter0 commented 2 years ago

I'm having the same problem but instead of fonts.googleapis.com the error is with use.fontawesome.com.

This is the complete error message:

Could not fetch https://use.fontawesome.com/releases/v5.2.0/css/all.css
HttpExceptionRequest Request {
  host                 = "use.fontawesome.com"
  port                 = 443
  secure               = True
  requestHeaders       = []
  path                 = "/releases/v5.2.0/css/all.css"
  queryString          = ""
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
}
 ConnectionTimeout
Error: pandoc document conversion failed with error 61