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

Vimeo downloads fail on MacOS ElCapitan and Sierra #20262

Closed
someziggyman opened this issue Mar 6, 2019 · 1 comment
Closed

Vimeo downloads fail on MacOS ElCapitan and Sierra #20262

someziggyman opened this issue Mar 6, 2019 · 1 comment

Comments

@someziggyman
Copy link

@someziggyman someziggyman commented Mar 6, 2019

Noticed an error on my ElCapitan macOS build due to an old OpenSSL system version.
Also confirmed on Sierra.

openssl version
OpenSSL 0.9.8zh 14 Jan 2016
python --version
Python 2.7.10

Vimeo downloads fail with this error message:

ERROR: Unable to download webpage: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)> (caused by URLError(SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)'),))

Is there a way to tell youtube-dl to use the latest openssl without updating it on my system?
I tried changing PATH, PYTHONHOME, PYTHONPATH environment variables to my latest OpenSSL and LibreSSL builds, but this do not seem to help.

Any advise is appreciated. Please see a full log below:

macoscapitan:TEST capitest$ youtube-dl -v https://vimeo.com/319558357
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://vimeo.com/319558357']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.03.01
[debug] Python version 2.7.10 (CPython) - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[vimeo] 319558357: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)> (caused by URLError(SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)'),))
File "./vydl/youtube_dl/extractor/common.py", line 605, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "./vydl/youtube_dl/YoutubeDL.py", line 2225, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "./vydl/youtube_dl/utils.py", line 1140, in https_open
req, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 6, 2019

Outdated OpenSSL.

@dstftw dstftw closed this Mar 6, 2019
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
2 participants
You can’t perform that action at this time.