Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSL Error Message when posting to Wordpress with RWordpress

Tags:

r

wordpress

knitr

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

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.

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"
like image 710
Owe Jessen Avatar asked Jun 21 '26 02:06

Owe Jessen


1 Answers

The RWordpress package has not been touched for over 7 years. You might want to explore other options.

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)

like image 71
Jeroen Ooms Avatar answered Jun 23 '26 17:06

Jeroen Ooms



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!