Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in curl #42

Closed
gabrielrvsc opened this issue Dec 9, 2017 · 2 comments
Closed

Error in curl #42

gabrielrvsc opened this issue Dec 9, 2017 · 2 comments

Comments

@gabrielrvsc
Copy link

Hi. I am having the following error when running yt_oauth("", ""):

Waiting for authentication in browser...
Press Esc/Ctrl + C to abort
Authentication complete.
Error in curl::curl_fetch_memory(url, handle = handle) :
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

I am using ubuntu 14.04.1. It is obviously a certificate problem but I can't figure it out. Everything is fine with the id and the secret and the browser authentication opens perfectly showing the application name.

Thanks

@gabrielrvsc
Copy link
Author

Never mind. I just had to run
httr::set_config( config( ssl_verifypeer = 0L ) )
before doing anything.

@soodoku
Copy link
Member

soodoku commented Dec 10, 2017

Hey @gabrielrvsc --- apologies and thanks! since this will be useful to others, would you like to do a PR on the readme.md adding this detail? thanks much!

@soodoku soodoku closed this as completed Dec 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants