Rlabkey selectRows function problem

LabKey Support Forum (Inactive)
Rlabkey selectRows function problem Mike Raboin  2015-06-22 10:21
Status: Closed
 
Hi,

I’ve run into a problem trying to access PRIMe via R. I get the following error when I try to use labkey.selectRows():

Error in function (type, msg, asError = TRUE) :
  error:1411809D:SSL routines:SSL_CHECK_SERVERHELLO_TLSEXT:tls invalid ecpointformat list

From the information I’ve been able to track down, this seems to be some problem with the ssl version in RCurl, but I haven't been able to find a solution. Is there a parameter somewhere I need to reset somewhere to specify a different ssl version?

Thanks!
Mike
 
 
Jon (LabKey DevOps) responded:  2015-06-23 15:34
Hi Mike,

There have been some changes to R when it comes to SSL compatibility:

http://cran.r-project.org/web/packages/Rlabkey/NEWS

Regarding your RCurl call itself, have you made sure you've done the following?

1.) Set the RCurl call to use "sslversion=3L"
2.) Set the RCurl call to also use "ssl.verifypeer=TRUE"

Give this a try and let us know how it goes.

Regards,

Jon
 
Mike Raboin responded:  2015-07-07 10:15
Hi Jon,

Based on the documentation that was included with the Rlabkey package, I couldn't find the function I needed to use to set the RCurl options like "sslversion". The problem seems to be that I was using an older version of R that was installed some time ago. Because of that, R was installing version 2.1.123 of the Rlabkey package when I ran install.packages. From the change log I see that this version doesn't include the labkey.setCurlOptions() function.

Now that I've upgraded R and Rlabkey, the problem seems to be resolved.

Thanks,
Mike