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

Unable to verify certificate #7450

Closed
Probe1 opened this issue Nov 11, 2015 · 6 comments
Closed

Unable to verify certificate #7450

Probe1 opened this issue Nov 11, 2015 · 6 comments

Comments

@Probe1
Copy link

@Probe1 Probe1 commented Nov 11, 2015

Nothing out of the ordinary, used yt-dl to grab https://www.youtube.com/watch?v=pWxJEIz7sSA and it kicked back that it could not verify the certificate. Using latest build 11/10.

Downloading video... ERROR: Unable to download webpage: (urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_sll.c:590 (caused by URLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),))

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 11, 2015

Which operating system are you using? Windows XP, 7 or Linux, Mac OS X? Please post the full log from the following command:

youtube-dl --verbose "https://www.youtube.com/watch?v=pWxJEIz7sSA"
@Probe1
Copy link
Author

@Probe1 Probe1 commented Nov 11, 2015

Windows 7 latest service pack.

Enter youtube url: youtube-dl --verbose https://www.youtube.com/watch?v=pWxJEIz7
sSA
Downloading video...
WARNING: The url doesn't specify the protocol, trying with http
WARNING: Could not send HEAD request to http://youtube-dl --verbose https://www.
youtube.com/watch?v=pWxJEIz7sSA: <urlopen error [Errno 11004] getaddrinfo failed
>
ERROR: Unable to download webpage: <urlopen error [Errno 11004] getaddrinfo fail
ed> (caused by URLError(gaierror(11004, 'getaddrinfo failed'),))

Couldn't download the youtube video. Did you copy the url correctly?
Press any key to continue . . .

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 11, 2015

Looks like you're using a wrapper but not youtube-dl itself. Could you run the command given above in Command Prompt (cmd.exe)?

@codaman
Copy link

@codaman codaman commented Nov 11, 2015

i'm using youtube-dl on .net web service it also get this error

Traceback (most recent call last): File "main.py", line 19, in File "youtube_dl__init__.pyo", line 410, in main File "youtube_dl__init__.pyo", line 377, in _real_main File "youtube_dl\YoutubeDL.pyo", line 338, in init File "youtube_dl\YoutubeDL.pyo", line 1969, in _setup_opener File "youtube_dl\utils.pyo", line 492, in make_HTTPS_handler File "ssl.pyo", line 440, in create_default_context File "ssl.pyo", line 391, in load_default_certs File "ssl.pyo", line 378, in _load_windows_store_certs WindowsError: [Error 5] Access is denied

@bamcdougall
Copy link

@bamcdougall bamcdougall commented Nov 12, 2015

I have same issue. Using latest build 11/10:
Downloading video... ERROR: Unable to download webpage: (urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_sll.c:590 (caused by URLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),))

Using command line prompt, the following command is issued:

youtube-dl -i --batch-file ./ImportChoons.txt --format "best" --extract-audio --audio-format "best" --audio-quality 0

where ImportChoons.txt is a file containing misc links to video clips on YouTube.
OS: Windows 7 Professional, 64 bit, Service Pack 1

Only change from youtube-dl working and not working is upgrading youtube-dl to 11/10/2015 version

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 12, 2015

Duplicate of #7309.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.