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: EOF occurred in violation of protocol #3402

Closed
casperl opened this issue Jul 30, 2014 · 2 comments
Closed

Error: EOF occurred in violation of protocol #3402

casperl opened this issue Jul 30, 2014 · 2 comments

Comments

@casperl
Copy link

@casperl casperl commented Jul 30, 2014

Other YouTube videos download ok. Similar errors on older versions of youtube-dl. (Thanks for a fantastic piece of software!)

Version as of today:
casperl@zeus:~/new$ youtube-dl --version
2014.07.30

Error when dowloading ( https://www.youtube.com/watch?v=XqTum7zFtPY )

Output:

casperl@zeus:~/new$ youtube-dl --verbose -f 18 -o docu.when-youre-strange.mp4 https://www.youtube.com/watch?v=XqTum7zFtPY
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-f', '18', '-o', 'docu.when-youre-strange.mp4', 'https://www.youtube.com/watch?v=XqTum7zFtPY']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.30
[debug] Python version 2.7.3 - Linux-3.5.0-51-generic-x86_64-with-Ubuntu-12.10-quantal
[debug] Proxy map: {}
[youtube] Setting language
[youtube] XqTum7zFtPY: Downloading webpage
[youtube] XqTum7zFtPY: Downloading video info webpage
ERROR: unable to download video info webpage: <urlopen error [Errno 8] _ssl.c:504: EOF occurred in violation of protocol>
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 203, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1231, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 401, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 419, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
result = func(*args)
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 598, in https_open
return self.do_open(HTTPSConnectionV3, req)
File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
raise URLError(err)

@phihag
Copy link
Contributor

@phihag phihag commented Jul 30, 2014

Works fine for me. Can you still reproduce it? In general, EOF errors are very unlikely to be caused by a problem in youtube-dl, and are usually caused by intermittent failure of the server in quesiton.

@casperl
Copy link
Author

@casperl casperl commented Jul 30, 2014

Thanks, yes it now works. Much appreciated. Problem closed.

@casperl casperl closed this Jul 30, 2014
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.