Navigation Menu

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

Error in curl fetch memory #2

Closed
PatriciaCabrera opened this issue Aug 16, 2021 · 4 comments
Closed

Error in curl fetch memory #2

PatriciaCabrera opened this issue Aug 16, 2021 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@PatriciaCabrera
Copy link

Dear developer,

I am trying to use the get function to access the data. I get this error

getBatsData("2014-08-01", "2014-09-01", "1 min")
# Error in curl::curl_fetch_memory(url, handle = handle) : gnutls_handshake() failed: Handshake failed
sessionInfo()
# R version 3.4.4 (2018-03-15)
# Platform: x86_64-pc-linux-gnu (64-bit)
# Running under: Ubuntu 14.04.5 LTS
# 
# Matrix products: default
# BLAS: /usr/lib/libblas/libblas.so.3.0
# LAPACK: /usr/lib/lapack/liblapack.so.3.0
# 
# 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] datasets  stats     graphics  grDevices utils     methods   base     
# 
# other attached packages:
#   [1] RPostgreSQL_0.6-2 DBI_1.1.1         XML_3.99-0.3     
# [4] httr_1.4.2        googleVis_0.6.6  
# 
# loaded via a namespace (and not attached):
#   [1] Rcpp_1.0.6        compiler_3.4.4    highr_0.8        
# [4] prettyunits_1.1.1 remotes_2.2.0     tools_3.4.4      
# [7] testthat_2.3.2    digest_0.6.26     pkgbuild_1.1.0   
# [10] pkgload_1.1.0     evaluate_0.14     jsonlite_1.7.2   
# [13] memoise_1.1.0     rlang_0.4.11      reprex_2.0.1     
# [16] cli_2.5.0         rstudioapi_0.11   yaml_2.2.1       
# [19] xfun_0.18         withr_2.3.0       knitr_1.30       
# [22] desc_1.2.0        fs_1.3.1          devtools_2.3.2   
# [25] rprojroot_1.3-2   glue_1.4.2        R6_2.5.0         
# [28] processx_3.5.2    rmarkdown_2.5     sessioninfo_1.1.1
# [31] callr_3.7.0       magrittr_2.0.1    htmltools_0.5.0  
# [34] backports_1.1.10  codetools_0.2-15  ps_1.4.0         
# [37] ellipsis_0.3.2    usethis_1.6.3     assertthat_0.2.1 
# [40] crayon_1.4.1     
@bart-v
Copy link

bart-v commented Oct 18, 2021

Hi Patricia,

Is this still an issue?
This looks like a client problem
https://newbedev.com/gnutls-handshake-failed-handshake-failed-git

@bart-v bart-v added the question Further information is requested label Oct 18, 2021
@PatriciaCabrera
Copy link
Author

PatriciaCabrera commented Oct 18, 2021

Hi @bart-v ,

Yes, it is a problem of the VRE-R instance that is not updated. I tried to get the data from the Jupyter hub instead from R and it worked.

I can close the issue.

@bart-v bart-v self-assigned this Oct 18, 2021
@salvafern
Copy link
Contributor

Hi @PatriciaCabrera,

I heard the problem was resolved. Can you write here how it was finally handled? 😄

@PatriciaCabrera
Copy link
Author

Initially, the problem was thought to be about the R version. But they have found what was the blocking issue: For some reason, the system installs a libcurl dev version that's linked to gnutls. Switching to the version linked to openssl and reinstalling the R curl and RCurl packages, fixes it.
A reinstallation of curl and RCurl in all the rstudio servers in Blue-Cloud was performed and the LW-package works now.

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

No branches or pull requests

3 participants