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 [Errno 1] #4560

Closed
s3ck opened this issue Dec 25, 2014 · 4 comments
Closed

Unable to download webpage: <urlopen error [Errno 1] #4560

s3ck opened this issue Dec 25, 2014 · 4 comments

Comments

@s3ck
Copy link

@s3ck s3ck commented Dec 25, 2014

ERROR: Unable to download webpage: <urlopen error [Errno 1] _ssl.c:504: error:140770FC:SSL     routines:SSL23_GET_SERVER_HELLO:unknown protocol> (caused by URLError(SSLError(1,     '_ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol'),))
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 276, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1370, 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 "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 421, in https_open
    return self.do_open(HTTPSConnectionV3, req)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1184,     in do_open
    raise URLError(err)
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 25, 2014

Post the full output you get when running with --verbose option

@s3ck
Copy link
Author

@s3ck s3ck commented Dec 25, 2014

Stevens-MacBook-Air:youtubeDownloads steven$ youtube-dl --verbose https://www.youtube.com/watch?v=dQw4w9WgXcQ
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=dQw4w9WgXcQ']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.17.2
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] dQw4w9WgXcQ: Downloading webpage
[youtube] dQw4w9WgXcQ: Extracting video information
[youtube] {43} signature length 40.41, html5 player en_US-vflw4H1P-
[youtube] dQw4w9WgXcQ: Downloading js player en_US-vflw4H1P-
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 588, in _decrypt_signature
    video_id, player_url, s
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 501, in _extract_signature_function
    errnote='Download of %s failed' % player_url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 367, in _download_webpage
    res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 295, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 284, in _request_webpage
    raise ExtractorError(errmsg, sys.exc_info()[2], cause=err)
ExtractorError: Download of https://s.ytimg.com/yts/jsbin/html5player-en_US-vflw4H1P-/html5player.js failed: <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'),))
 (caused by ExtractorError(u"Download of https://s.ytimg.com/yts/jsbin/html5player-en_US-vflw4H1P-/html5player.js failed: <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'),))",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 588, in _decrypt_signature
    video_id, player_url, s
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 501, in _extract_signature_function
    errnote='Download of %s failed' % player_url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 367, in _download_webpage
    res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 295, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 284, in _request_webpage
    raise ExtractorError(errmsg, sys.exc_info()[2], cause=err)
ExtractorError: Download of https://s.ytimg.com/yts/jsbin/html5player-en_US-vflw4H1P-/html5player.js failed: <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'),))
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 592, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 243, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1004, in _real_extract
    encrypted_sig, video_id, player_url, age_gate)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 598, in _decrypt_signature
    'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 588, in _decrypt_signature
    video_id, player_url, s
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 501, in _extract_signature_function
    errnote='Download of %s failed' % player_url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 367, in _download_webpage
    res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 295, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 284, in _request_webpage
    raise ExtractorError(errmsg, sys.exc_info()[2], cause=err)
ExtractorError: Download of https://s.ytimg.com/yts/jsbin/html5player-en_US-vflw4H1P-/html5player.js failed: <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'),))
 (caused by ExtractorError(u"Download of https://s.ytimg.com/yts/jsbin/html5player-en_US-vflw4H1P-/html5player.js failed: <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'),))",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@s3ck
Copy link
Author

@s3ck s3ck commented Dec 25, 2014

I also downloaded the 2014.12.17.2 self contained exe on my windows machine yesterday and was able to reproduce this.

@s3ck
Copy link
Author

@s3ck s3ck commented Dec 27, 2014

No longer occurring as of Dec. 27, 10:14:25 UTC

@s3ck s3ck closed this Dec 27, 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.