ropensci / taxize

A taxonomic toolbelt for R
https://docs.ropensci.org/taxize
Other
270 stars 61 forks source link

Bad Gateway (HTTP 502) in get_iucn #914

Closed Nicolescm closed 1 year ago

Nicolescm commented 1 year ago
Session Info ```r R version 4.3.0 (2023-04-21) Platform: x86_64-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-x86_64/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/Mazatlan tzcode source: internal attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] vctrs_0.6.2 sf_1.0-12 lubridate_1.9.2 forcats_1.0.0 stringr_1.5.0 dplyr_1.1.2 purrr_1.0.1 [8] readr_2.1.4 tidyr_1.3.0 tibble_3.2.1 ggplot2_3.4.2 tidyverse_2.0.0 taxize_0.9.100 rfishbase_4.1.1 [15] rredlist_0.7.1 loaded via a namespace (and not attached): [1] tidyselect_1.2.0 urltools_1.7.3 fastmap_1.1.1 duckdb_0.7.1-1 digest_0.6.31 [6] timechange_0.2.0 lifecycle_1.0.3 terra_1.7-29 magrittr_2.0.3 compiler_4.3.0 [11] rlang_1.1.1 progress_1.2.2 tools_4.3.0 utf8_1.2.3 data.table_1.14.8 [16] conditionz_0.1.0 askpass_1.1 prettyunits_1.1.1 sp_1.6-0 classInt_0.4-9 [21] contentid_0.0.17 curl_5.0.0 xml2_1.3.4 KernSmooth_2.23-21 httpcode_0.3.0 [26] withr_2.5.0 triebeard_0.4.1 grid_4.3.0 fansi_1.0.4 e1071_1.7-13 [31] colorspace_2.1-0 scales_1.2.1 iterators_1.0.14 crul_1.3 cli_3.6.1 [36] crayon_1.5.2 generics_0.1.3 rstudioapi_0.14 httr_1.4.6 tzdb_0.4.0 [41] DBI_1.1.3 ape_5.7-1 cachem_1.0.8 proxy_0.4-27 parallel_4.3.0 [46] jsonlite_1.8.4 hms_1.1.3 foreach_1.5.2 units_0.8-2 rgdal_1.6-6 [51] glue_1.6.2 codetools_0.2-19 stringi_1.7.12 gtable_0.3.3 raster_3.6-20 [56] worrms_0.4.2 munsell_0.5.0 pillar_1.9.0 openssl_2.0.6 R6_2.5.1 [61] dbplyr_2.3.2 bold_1.3.0 lattice_0.21-8 memoise_2.0.1 class_7.3-22 [66] Rcpp_1.0.10 uuid_1.1-0 nlme_3.1-162 fs_1.6.2 zoo_1.8-12 [71] pkgconfig_2.0.3 ```
Hello, Thank you in advance for take the time to reading this issue. A couple of weeks ago, I was working with taxize package but today the summary_iucn function started not finding the species. `IUCN.list = iucn_summary(abalones$binomial, distr_detail = TRUE, key = API) taxa 'Haliotis rufescens' not found! Returning NA! ` It should be noted that I previously searched for information for this species and did get a result. Then, I want to use another function like get_iucn, and I get the following result: `get_iucn("Haliotis dalli", key = API) Error: Bad Gateway (HTTP 502)` What is the reason for this? Is something with IUCN servers?
florafinder commented 1 year ago

I am having the same issue, which seems limited to IUCN data

fmsabatini commented 1 year ago

Same here

zachary-foster commented 1 year ago

Thanks for the report. I get the same error. A lot of these kind of errors are temporary issues with the server. If it continues tomorrow I will look more into it.

zachary-foster commented 1 year ago

Seems to be working again. Can someone confirm?

fmsabatini commented 1 year ago

Hi Zachary. I checked the day before yesterday and it was working Thanks for answering

Nicolescm commented 1 year ago

Seems to be working again. Can someone confirm?

Hi Zachary. Indeed, it's working. Thanks.