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 download webpage: <urlopen error EOF occurred in violation of protocol (_ssl.c:749)> #13304

Closed
moiseyo opened this issue Jun 6, 2017 · 0 comments

Comments

@moiseyo
Copy link

@moiseyo moiseyo commented Jun 6, 2017

new Errors with SSL
Windows 64, Python 3.61
youtube-dl (2017.6.5)

Clean URL:[http://www.youtube.com/watch?v=YYw46D7TJgg]
Error:ERROR: Unable to download webpage: <urlopen error EOF occurred in violation of protocol (_ssl.c:749)> (caused by URLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:749)'),))
DownloadError("ERROR: Unable to download webpage: <urlopen error EOF occurred in violation of protocol (_ssl.c:749)> (caused by URLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:749)'),))",)
Traceback (most recent call last):
File "C:\Python36\lib\urllib\request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "C:\Python36\lib\http\client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Python36\lib\http\client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Python36\lib\http\client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Python36\lib\http\client.py", line 1026, in _send_output
self.send(msg)
File "C:\Python36\lib\http\client.py", line 964, in send
self.connect()
File "C:\Python36\lib\http\client.py", line 1400, in connect
server_hostname=server_hostname)
File "C:\Python36\lib\ssl.py", line 401, in wrap_socket
_context=self, _session=session)
File "C:\Python36\lib\ssl.py", line 808, in init
self.do_handshake()
File "C:\Python36\lib\ssl.py", line 1061, in do_handshake
self._sslobj.do_handshake()
File "C:\Python36\lib\ssl.py", line 683, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:749)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Python36\lib\site-packages\youtube_dl\extractor\common.py", line 502, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "C:\Python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 2107, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "C:\Python36\lib\urllib\request.py", line 526, in open
response = self._open(req, data)
File "C:\Python36\lib\urllib\request.py", line 544, in _open
'_open', req)
File "C:\Python36\lib\urllib\request.py", line 504, in _call_chain
result = func(*args)
File "C:\Python36\lib\site-packages\youtube_dl\utils.py", line 1082, in https_open
req, **kwargs)
File "C:\Python36\lib\urllib\request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error EOF occurred in violation of protocol (_ssl.c:749)>

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.