0

我正在使用 REDCapR 包从 REDCap 获取数据(在不确定为什么现在不行之前工作)。我不断收到此错误。

df <- redcap_read(redcap_uri = uri, token = token)$data

Error in curl::curl_fetch_memory(url, handle = handle) : 
  schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed).

我还尝试了其他包,如 httr、redcapAPI 和 RCurl。显示了同样的错误。

我也试过这样的代码

set_config( config( ssl_verifypeer = 1L ) )
httr::set_config(config(ssl_verifypeer = 0L, ssl_verifyhost = 0L))

我使用的是 Windows 7。所有软件包都是最新的,我使用的是 RStudio v1.1.419。我在我的 Mac 上进行了测试,一切正常,但是我无法使用我的个人笔记本电脑工作。我怀疑这可能是 Windows 7 的问题。

提前致谢!

4

0 回答 0