Error in Curl::Curl_Fetch_Memory(Url, Handle = Handle):Couldn't Connect to Server in R: Oauth2.0_Token())

Error in curl::curl_fetch_memory(url, handle = handle) : Couldn't connect to server in R: oauth2.0_token())

library(httr)    
set_config(use_proxy(url="10.3.100.207",port=8080))

This works fine. Thank-you

Curl: Fix CURL (51) SSL error: no alternative certificate subject name matches

It usually happens when the certificate does not match with the host name.

The solution would be to contact the host and ask it to fix its certificate.

Otherwise you can turn off cURL's verification of the certificate, use the -k (or --insecure) option.

Please note that as the option said, it is insecure. You shouldn't use this option because it allows man-in-the-middle attacks and defeats the purpose of HTTPS.

More can be found in here: http://curl.haxx.se/docs/sslcerts.html



Related Topics



Leave a reply



Submit