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: unable to download video data: [SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:2607) #24561

Closed
aranmohyeddin opened this issue Apr 1, 2020 · 0 comments

Comments

@aranmohyeddin
Copy link

@aranmohyeddin aranmohyeddin commented Apr 1, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.03.24
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

$ youtube-dl -v --format mp4 "https://www.youtube.com/watch?v=_aNifg4rdss"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--format', 'mp4', 'https://www.youtube.com/watch?v=_aNifg4rdss']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.8.2 (CPython) - Linux-5.5.10-arch1-1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Proxy map: {}
[youtube] _aNifg4rdss: Downloading webpage
[debug] Invoking downloader on 'https://r5---sn-4g5e6nsz.googlevideo.com/videoplayback?expire=1585763633&ei=0YCEXsiBIJmegQe387zgBg&ip=52.58.242.132&id=o-AAxQI-g7PUZtwsO3Kj1NMgex-gIsktOWCdrkd63ppeTK&itag=22&source=youtube&requiressl=yes&mh=4l&mm=31%2C29&mn=sn-4g5e6nsz%2Csn-4g5ednls&ms=au%2Crdu&mv=u&mvi=4&pl=20&vprv=1&mime=video%2Fmp4&ratebypass=yes&dur=718.866&lmt=1543949978477085&mt=1585741543&fvip=5&c=WEB&txp=2311222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cratebypass%2Cdur%2Clmt&sig=AJpPlLswRgIhAIEiYZ95bCf1KrskrzeRDlAAwRFlVHE6PdfgDslvCgK0AiEA-YYjTBK4Av81MdZTxX2BDGrSRCw3AjLl0mw2o4x5paw%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl&lsig=ALrAebAwRAIgGOs8V5L87-3PKxvKOhLWqG4BUwfqyitt9T3AUvaQuEoCICapKKPgBQg5yIhro-5mMH39ivCda_tc8WiZYsyLAp_d'
[download] Resuming download at byte 329039
ERROR: unable to download video data: [SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:2607)
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1926, in process_info
    success = dl(filename, info_dict)
  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1865, in dl
    return fd.download(name, info)
  File "/usr/lib/python3.8/site-packages/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/lib/python3.8/site-packages/youtube_dl/downloader/http.py", line 342, in real_download
    return download()
  File "/usr/lib/python3.8/site-packages/youtube_dl/downloader/http.py", line 230, in download
    data_block = ctx.data.read(block_size if not is_test else min(block_size, data_len - byte_counter))
  File "/usr/lib/python3.8/http/client.py", line 454, in read
    n = self.readinto(b)
  File "/usr/lib/python3.8/http/client.py", line 498, in readinto
    n = self.fp.readinto(b)
  File "/usr/lib/python3.8/socket.py", line 669, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.8/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
ssl.SSLError: [SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:2607)

Description

This command works just fine: $ youtube-dl "https://www.youtube.com/watch?v=_aNifg4rdss"

@dstftw dstftw closed this Apr 1, 2020
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.