ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.78k stars 10.08k forks source link

ERROR: Unable to download webpage: <urlopen error EOF occurred in violation of protocol (_ssl.c:600)> #14104

Closed dustycy closed 7 years ago

dustycy commented 7 years ago

Please follow the guide below


Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.09.02. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

Before submitting an issue make sure you have:

What is the purpose of your issue?


The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

C:\Users\LAK\Downloads\youtube_dl>youtube_dl.exe -v https://chaturbate.com/sweet_ary/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://chaturbate.com/sweet_ary/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.09.02
[debug] Python version 3.4.4 - Windows-10-10.0.15063
[debug] exe versions: ffmpeg N-87130-g2b9fd15, ffprobe N-87130-g2b9fd15
[debug] Proxy map: {}
[Chaturbate] sweet_ary: Downloading webpage
ERROR: Unable to download webpage: <urlopen error EOF occurred in violation of protocol (_ssl.c:600)> (caused by URLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:600)'),))
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmptra0egnk\build\youtube_dl\extractor\common.py", line 503, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmptra0egnk\build\youtube_dl\YoutubeDL.py", line 2168, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmptra0egnk\build\youtube_dl\utils.py", line 1086, in https_open
  File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open

C:\Users\LAK\Downloads\youtube_dl>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

I occasionally get the ERROR: Unable to download webpage: <urlopen error EOF occurred in violation of protocol (_ssl.c:600)> with youtube-dl. It looks as though this is a time-out problem with youtube-dl (_ssl.c:600). The problem appears to be with somewhat slow downloading of the web pages where youtube-dl times out. I have no issues downloading the pages with either Firefox or Opera (Internal VPN enabled or not). Otherwise, the ERROR appears to random as I cannot reproduce it when I rerun youtube-dl again. It sometimes spits the error and sometimes it does not.

dustycy commented 7 years ago

I do not know what exactly youtube-dl is doing to my network connection, but I am now also getting occasional "TLS Handshake" errors in Firefox.

dstftw commented 7 years ago

If it appears randomly then it's obviously an issue with your network connection.