seancarmody / ngramr

R package to query the Google Ngram Viewer
Other
48 stars 9 forks source link

SSL certificate verification problem on Mac OS 10.10 Yosemite #21

Closed wilkens closed 4 years ago

wilkens commented 10 years ago

Getting a little ahead of things since Yosemite is still in beta, but ... calls to ngram() fail when running on Yosemite with the following error:

> library(ngramr)
> ngram("programmer")
Error in function (type, msg, asError = TRUE)  : 
  SSL: certificate verification failed (result: 5)

Not a showstopper since I still have 10.9 systems, of course, but thought you might want to know. Thanks for all your work on the package!

Here's information about my setup. Short version: R 3.1.1, RStudio 0.98.1028, Mac OS 10.10, ngramr 1.4.3. Full output of version:

platform       x86_64-apple-darwin13.1.0   
arch           x86_64                      
os             darwin13.1.0                
system         x86_64, darwin13.1.0        
status                                     
major          3                           
minor          1.1                         
year           2014                        
month          07                          
day            10                          
svn rev        66115                       
language       R                           
version.string R version 3.1.1 (2014-07-10)
nickname       Sock it to Me               
wilkens commented 10 years ago

Should have said explicitly: Everything works as expected using the same versions under OS 10.9.

seancarmody commented 10 years ago

Thanks for letting me know. I'm still on 10.9 myself, so hadn't come across this. Looking here: http://stackoverflow.com/questions/23287685/devtoolsinstall-github-error-in-function-type-msg-aserror-true-not-se suggests it could a libcurl issue. Certainly ngram uses Rcurl.

On Tue, Aug 26, 2014 at 1:01 AM, Matthew Wilkens notifications@github.com wrote:

Should have said explicitly: Everything works as expected using the same versions under OS 10.9.

— Reply to this email directly or view it on GitHub https://github.com/seancarmody/ngramr/issues/21#issuecomment-53275212.

Sean Carmody Twitter: http://twitter.com/seancarmody Stable: http://mulestable.net/sean

The Stubborn Mule Blog: http://www.stubbornmule.net Forum: http://mulestable.net/

wilkens commented 10 years ago

Thanks, Sean. Don't know if system libcurl info is helpful, but FWIW, Mac OS 10.9.4 appears to use libcurl.4 from curl-78.94.1. My Yosemite machine is at home; will post that version tonight when I have access.

seancarmody commented 10 years ago

OK, thanks Matthew.

On Wed, Aug 27, 2014 at 2:43 AM, Matthew Wilkens notifications@github.com wrote:

Thanks, Sean. Don't know if system libcurl info is helpful, but FWIW, Mac OS 10.9.4 appears to use libcurl.4 from curl-78.94.1. My Yosemite machine is at home; will post that version tonight when I have access.

— Reply to this email directly or view it on GitHub https://github.com/seancarmody/ngramr/issues/21#issuecomment-53451050.

Sean Carmody Twitter: http://twitter.com/seancarmody Stable: http://mulestable.net/sean

The Stubborn Mule Blog: http://www.stubbornmule.net Forum: http://mulestable.net/

wilkens commented 10 years ago

Here's the same info from Yosemite (public beta 2, FYI), pulled via strings /usr/lib/libcurl.dynlib:

PROGRAM:libcurl.4 PROJECT:curl-83.1.1

And for comparison's sake, the output of curl --version on Mavericks:

curl 7.30.0 (x86_64-apple-darwin13.0) libcurl/7.30.0 SecureTransport zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp 
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz 

And on Yosemite:

curl 7.37.1 (x86_64-apple-darwin14.0) libcurl/7.37.1 SecureTransport zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp 
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz 

Alright, will leave you alone on this now. No biggie for me, since I have a workaround, but let me know if you want me to try anything to help chase it down.

seancarmody commented 4 years ago

Just checking - is this still a problem?