Closed lixiaopi1985 closed 4 years ago
thanks - its working fine for me right now. is it still broken for you?
thanks - its working fine for me right now. is it still broken for you?
Yes, it is still broken and has not resolved for me.
okay, i assume you do know bold_ping()
is a function in the taxize
package, not this package.
try running bold_ping(verbose = TRUE)
to see what curl output you get - it may reveal a problem
okay, i assume you do know
bold_ping()
is a function in thetaxize
package, not this package.try running
bold_ping(verbose = TRUE)
to see what curl output you get - it may reveal a problem
I tried
bold_seq(taxon='Coelioxys')
Error in curl::curl_fetch_memory(x$url$url, handle = x$url$handle) :
Timeout was reached: Resolving timed out after 10000 milliseconds
> bold_ping(verbose=T)
* Resolving timed out after 10000 milliseconds
* stopped the pause stream!
* Closing connection 4
Error in curl::curl_fetch_memory(x$url$url, handle = x$url$handle) :
Timeout was reached: Resolving timed out after 10000 milliseconds
Do either http requests in taxize work? do taxize::col_ping()
and taxize::gbif_ping()
return TRUE
Do either http requests in taxize work? do
taxize::col_ping()
andtaxize::gbif_ping()
returnTRUE
> taxize::col_ping()
Error in curl::curl_fetch_memory(x$url$url, handle = x$url$handle) :
Timeout was reached: Resolving timed out after 10000 milliseconds
> taxize::gbif_ping()
Error in curl::curl_fetch_memory(x$url$url, handle = x$url$handle) :
Timeout was reached: Resolving timed out after 10000 milliseconds
Uninstall and reinstall bold and taxize did not resolve the problem.
does this work
crul::HttpClient$new("https://httpbin.org")$get("get")
#> <crul response>
#> url: https://httpbin.org/get
#> request_headers:
#> User-Agent: libcurl/7.64.1 r-curl/4.3 crul/0.9.0
#> Accept-Encoding: gzip, deflate
#> Accept: application/json, text/xml, application/xml, */*
#> response_headers:
#> status: HTTP/2 200
#> date: Tue, 17 Mar 2020 20:45:04 GMT
#> content-type: application/json
#> content-length: 367
#> server: gunicorn/19.9.0
#> access-control-allow-origin: *
#> access-control-allow-credentials: true
#> status: 200
> crul::HttpClient$new("https://httpbin.org")$get("get")
Error in curl::curl_fetch_memory(x$url$url, handle = x$url$handle) :
Timeout was reached: Resolving timed out after 10000 milliseconds
It works in my windows10 rstudo but not in ubuntu.
there's probavly something wrong with your ubuntu
Started working again a moment ago without doing anything. Weird.
Anyway, thanks for your help.
Session Info
```r R version 3.6.3 (2020-02-29) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 18.04.4 LTS Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3 LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] forcats_0.4.0 stringr_1.4.0 dplyr_0.8.3 purrr_0.3.2 [5] readr_1.3.1 tidyr_1.0.0 tibble_2.1.3 ggplot2_3.2.1 [9] tidyverse_1.2.1 taxize_0.9.8 bold_0.9.0 loaded via a namespace (and not attached): [1] zoo_1.8-6 tidyselect_0.2.5 reshape2_1.4.3 [4] haven_2.1.1 lattice_0.20-40 colorspace_1.4-1 [7] generics_0.0.2 vctrs_0.2.0 yaml_2.2.0 [10] utf8_1.1.4 rlang_0.4.0 pillar_1.4.2 [13] withr_2.1.2 httpcode_0.2.0 glue_1.3.1 [16] modelr_0.1.5 readxl_1.3.1 foreach_1.4.7 [19] lifecycle_0.1.0 plyr_1.8.4 cellranger_1.1.0 [22] munsell_0.5.0 gtable_0.3.0 rvest_0.3.4 [25] codetools_0.2-16 parallel_3.6.3 curl_4.1 [28] fansi_0.4.0 triebeard_0.3.0 urltools_1.7.3 [31] broom_0.5.2 Rcpp_1.0.2 backports_1.1.4 [34] scales_1.0.0 jsonlite_1.6 hms_0.5.1 [37] stringi_1.4.3 grid_3.6.3 cli_1.1.0 [40] tools_3.6.3 magrittr_1.5 lazyeval_0.2.2 [43] crul_0.8.4 crayon_1.3.4 ape_5.3 [46] pkgconfig_2.0.2 zeallot_0.1.0 data.table_1.12.2 [49] xml2_1.2.2 lubridate_1.7.4 assertthat_0.2.1 [52] reshape_0.8.8 httr_1.4.1 rstudioapi_0.10 [55] iterators_1.0.12 R6_2.4.0 nlme_3.1-144 [58] compiler_3.6.3 ```Experiencing curl error today (3/16/2020)