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

SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure #9666

Closed
outhud opened this issue Jun 1, 2016 · 2 comments
Closed

SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure #9666

outhud opened this issue Jun 1, 2016 · 2 comments

Comments

@outhud
Copy link

@outhud outhud commented Jun 1, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.06.02. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.06.02

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ youtube-dl --no-check-certificate https://news.vice.com/video/jeremy-corbyn-the-outsider --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--no-check-certificate', u'https://news.vice.com/video/jeremy-corbyn-the-outsider', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.06.02
[debug] Python version 2.7.6 - Linux-3.19.0-32-generic-x86_64-with-LinuxMint-17.3-rosa
[debug] exe versions: ffmpeg N-80026-g936751b, ffprobe N-80026-g936751b, rtmpdump 2.4
[debug] Proxy map: {}
[Vice] jeremy-corbyn-the-outsider: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure> (caused by URLError(SSLError(1, '_ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure'),))
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 388, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1946, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 939, in https_open
    req, **kwargs)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
    raise URLError(err)


Description of your issue, suggested solution and other information

Hi,
I'm having trouble downloading from Vice, due to an SSL error.

This happens even if I use the --no-check-certificate switch and also with the http web address.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 2, 2016

news.vice.com requires an SSL feature called Server Name Indiciation (SNI), which is not supported until Python 2.7.9. Please update your Python.

@yan12125 yan12125 closed this Jun 2, 2016
@reggna
Copy link

@reggna reggna commented Mar 11, 2017

Thanks, @yan12125! I had the same problem on viafree.se, and using the Python 3 version instead solved it.

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
3 participants
You can’t perform that action at this time.