Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
SSL error on Mac OS X 10.9.5 #5814
Comments
|
Looks like this is pure Mac OS X issue, the same code works fine on Windows, same Python version |
|
I can't reproduce it with the system python 2.7.5 on OS X 10.9, can we close the issue then? |
|
I think closing it the right idea. |
I saw this was an (resolved) issue before, however I have just cloned a repo and tried:
And the output is:
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=vLALX1YiVbY', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.05.20
[debug] Git HEAD: b885bae
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg present, ffprobe present
[debug] Proxy map: {}
[youtube] vLALX1YiVbY: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 8] _ssl.c:504: EOF occurred in violation of protocol> (caused by URLError(SSLError(8, '_ssl.c:504: EOF occurred in violation of protocol'),))
File "youtube_dl/extractor/common.py", line 312, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "youtube_dl/YoutubeDL.py", line 1713, 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 404, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "youtube_dl/utils.py", line 713, in https_open
req, *_kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)