Project

General

Profile

Actions

Support #22457

closed

R / Rstudio (FAO Tuna atlas VRE) gnutls_handshake() failed: Handshake failed

Added by Emmanuel Blondel 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Urgent
Assignee:
_InfraScience Systems Engineer
Target version:
Start date:
Nov 23, 2021
Due date:
% Done:

100%

Estimated time:
VREName:

Description

We need to use zen4R package for Rstudio (https://rstudio.d4science.org/) and through this R studio in particular we can issue with curl:

Error in curl::curl_fetch_memory(url, handle = handle) :
gnutls_handshake() failed: Handshake failed

This issue only occurs on the D4Science Rstudio, and doesn't come from zen4R.

Code to reproduce in R:


require(zen4R)
zenodo = ZenodoManager$new()
zenodo$getCommunities()


Related issues

Related to D4Science Support - Support #21932: Error using curl: Handshake failedClosed_InfraScience Systems EngineerAug 16, 2021

Actions
Actions #1

Updated by Andrea Dell'Amico about 2 months ago

Actions #2

Updated by Andrea Dell'Amico about 2 months ago

Same problem of #21932. I'll try to find a workaround, as we do not have a new rstudio yet.

Actions #3

Updated by Andrea Dell'Amico about 2 months ago

  • Status changed from New to In Progress

I've found the problem, and there's a way to solve it. 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.

I'll force a reinstall on all the nodes (I vaguely remember doing the very same operation a long time ago, but anyway).

Actions #4

Updated by Andrea Dell'Amico about 2 months ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

On rstudio.d4science.org are now installed the curl and RCurl packages recompiled against libcurl4-openssl-dev. I run the code you posted in the description and it works now.

Actions #5

Updated by Andrea Dell'Amico about 2 months ago

  • Status changed from Feedback to Resolved
Actions #6

Updated by Emmanuel Blondel about 2 months ago

Many thanks Andrea Dell'Amico for solving this, it was really blocking.

Actions #7

Updated by Emmanuel Blondel about 2 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF