我尝试使用 RWordpress 包 ( https://github.com/duncantl/RWordPress ) 发布到我的 Wordpress 站点。这一直有效,直到最近,我现在收到以下错误消息。
options(WordPressLogin = c(bla = 'fasel'),
WordPressURL = 'https://www.econinfo.de/xmlrpc.php')
getRecentPostTitles()
Error in function (type, msg, asError = TRUE) :
error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
找了一圈,好像是和TLS版本有冲突,不明白是哪一边。我的托管商的证书支持 TSL 1.1 和 TLS 1.2。
任何帮助,将不胜感激。
我在 Win 10 上
> RCurl::curlVersion()
$age
[1] 3
$version
[1] "7.40.0"
$vesion_num
[1] 468992
$host
[1] "x86_64-pc-win32"
$features
ssl libz ntlm asynchdns spnego largefile idn sspi
4 8 16 128 256 512 1024 2048
$ssl_version
[1] "OpenSSL/1.0.0o"
最佳答案
RWordpress 包 has not been touched for over 7 years 。您可能想探索其他选项。
现在,人们使用 curl
或 httr
包来访问互联网。不幸的是,RCurl
包已经多年无人维护,它只支持非常旧版本的 SSL(显然不是 TSL 1.1 和 TLS 1.2)
关于r - 使用 RWordpress 发布到 Wordpress 时的 SSL 错误消息,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/57478582/