问题描述
我尝试使用RWordpress包( https://github.com/duncantl/RWordPress ).这一直有效,直到最近,我现在收到以下错误消息.
I try to post to my Wordpress site using the RWordpress package (https://github.com/duncantl/RWordPress). This worked until recently, and I now get the following error message.
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.
Searching around, it seems that there is a conflict with the TLS version, but I don't understand on what side. The certificate from my hoster supports TSL 1.1 and TLS 1.2.
任何帮助将不胜感激.
Any help would be appreciated.
我在Win 10上使用
I'm on Win 10 with
> 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包超过7个月都没有涉及年.您可能想探索其他选项.
The RWordpress package has not been touched for over 7 years. You might want to explore other options.
这些天来,人们使用curl
或httr
包来访问Internet.不幸的是,RCurl
软件包已经多年未维护,它仅支持非常旧的SSL版本(可能不支持TSL 1.1和TLS 1.2)
These days, people use the curl
or httr
package for internet access. The RCurl
package has been unmaintained for years unfortunately, and it only supports very old version of SSL (apparenlty not TSL 1.1 and TLS 1.2)
这篇关于使用RWordpress发布到Wordpress时出现SSL错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!