cloudyr / aws.s3

Amazon Simple Storage Service (S3) API Client
https://cloud.r-project.org/package=aws.s3
381 stars 148 forks source link

Could not resolve host #432

Open SujuanWu opened 1 year ago

SujuanWu commented 1 year ago

I also met the issue Error in curl::curl_fetch_memory(url, handle = handle) : Could not resolve host: s3-cn-north-1.amazonaws.com; Name or service not known" , and I also try to run get_bucket("mybucket", region = "cn-north-1",check_region = F) or get_bucket("mybucket", region = "cn-north-1",verbose = T), the error still appeared.

session info for your system

sessionInfo() R version 4.0.2 (2020-06-22) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Red Hat Enterprise Linux

Matrix products: default BLAS: /opt/R/R_4.0.2/lib64/R/lib/libRblas.so LAPACK: /opt/R/R_4.0.2/lib64/R/lib/libRlapack.so

locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8
[6] LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C 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] aws.s3_0.3.21

loaded via a namespace (and not attached): [1] httr_1.4.7 compiler_4.0.2 R6_2.5.1 tools_4.0.2 base64enc_0.1-3 curl_5.0.2 aws.signature_0.6.0 [8] xml2_1.3.5 digest_0.6.27 renv_0.14.0