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

Can not download video with aria2 after v1.33.0 #14756

Closed
joeky888 opened this issue Nov 15, 2017 · 1 comment
Closed

Can not download video with aria2 after v1.33.0 #14756

joeky888 opened this issue Nov 15, 2017 · 1 comment
Labels

Comments

@joeky888
Copy link

@joeky888 joeky888 commented Nov 15, 2017

See aria2/aria2#1068

If I downgrade to v1.32, everything works as expected.

Full log:

PS> choco install youtube-dl ffmpeg aria2 -y

PS> $env:DOWNLOADARGS="--continue=true --check-certificate=false --content-disposition-default-utf8=true --max-tries=0 --max-concurrent-downloads=1000 --max-connection-per-server=16 --split=16 --min-split-size=1M --log log.txt"

PS> youtube-dl.exe --external-downloader aria2c --external-downloader-args $env:DOWNLOADARGS https://www.youtube.com/watch?v=XFLOh44P5z0 --verbose

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--external-downloader', 'aria2c', '--external-downloader-args', '--continue=true --check-certificate=false --content-disposition-default-utf8=true --max-tries=0 --max-concurrent-downloads=1000 --max-connection-per-server=16 --split=16 --min-split-size=1M --log log.txt', 'https://www.youtube.com/watch?v=XFLOh44P5z0', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp65001, pref cp1252
[debug] youtube-dl version 2017.11.15
[debug] Python version 3.4.4 - Windows-10-10.0.16299
[debug] exe versions: ffmpeg 3.4, ffprobe 3.4
[debug] Proxy map: {}
[youtube] XFLOh44P5z0: Downloading webpage
[youtube] XFLOh44P5z0: Downloading video info webpage
[youtube] XFLOh44P5z0: Extracting video information
[youtube] {43} signature length 40.43, html5 player vflXHVFyU
[youtube] {18} signature length 40.43, html5 player vflXHVFyU
[youtube] {36} signature length 40.43, html5 player vflXHVFyU
[youtube] {17} signature length 40.43, html5 player vflXHVFyU
[youtube] {133} signature length 40.43, html5 player vflXHVFyU
[youtube] {160} signature length 40.43, html5 player vflXHVFyU
[youtube] {140} signature length 40.43, html5 player vflXHVFyU
[youtube] {171} signature length 40.43, html5 player vflXHVFyU
[youtube] {249} signature length 40.43, html5 player vflXHVFyU
[youtube] {250} signature length 40.43, html5 player vflXHVFyU
[youtube] {251} signature length 40.43, html5 player vflXHVFyU
[youtube] XFLOh44P5z0: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r4---sn-3cgv-umbe.googlevideo.com/videoplayback?id=5c52ce878e0fe73d&itag=133&source=youtube&requiressl=yes&ms=au&mv=m&ei=uXAMWuD7KcPAqQGXk6D4Aw&initcwndbps=1033750&mm=31&pl=22&mn=sn-3cgv-umbe&ratebypass=yes&mime=video/mp4&gir=yes&clen=215365&lmt=1507304560044396&dur=188.040&signature=38DAC5DF11C6DB1C210497D15E14E0D72CB435E4.0C4E77776A53906C3A1D691E43B6352FBD7C9C17&key=dg_yt0&mt=1510764598&ip=118.233.202.54&ipbits=0&expire=1510786329&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,mv,ei,initcwndbps,mm,pl,mn,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Wizards in Winter - Trans-Siberian Orchestra-XFLOh44P5z0.f133.mp4
[debug] aria2c command line: aria2c -c "--continue=true" "--check-certificate=false" "--content-disposition-default-utf8=true" "--max-tries=0" "--max-concurrent-downloads=1000" "--max-connection-per-server=16" "--split=16" "--min-split-size=1M" --log log.txt --out "Wizards in Winter - Trans-Siberian Orchestra-XFLOh44P5z0.f133.mp4.part" --header "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)" --header "Accept-Encoding: gzip, deflate" --header "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" --header "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header "Accept-Language: en-us,en;q=0.5" "--check-certificate=true" -- "https://r4---sn-3cgv-umbe.googlevideo.com/videoplayback?id=5c52ce878e0fe73d&itag=133&source=youtube&requiressl=yes&ms=au&mv=m&ei=uXAMWuD7KcPAqQGXk6D4Aw&initcwndbps=1033750&mm=31&pl=22&mn=sn-3cgv-umbe&ratebypass=yes&mime=video/mp4&gir=yes&clen=215365&lmt=1507304560044396&dur=188.040&signature=38DAC5DF11C6DB1C210497D15E14E0D72CB435E4.0C4E77776A53906C3A1D691E43B6352FBD7C9C17&key=dg_yt0&mt=1510764598&ip=xxx.233.202.54&ipbits=0&expire=1510786329&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,mv,ei,initcwndbps,mm,pl,mn,ratebypass,mime,gir,clen,lmt,dur"

11/16 00:52:07 [NOTICE] Downloading 1 item(s)
[#e748fb 0B/0B CN:1 DL:0B]
@joeky888
Copy link
Author

@joeky888 joeky888 commented Nov 15, 2017

PS> cat log.txt

2017-11-16 00:52:07.973030 [INFO] [Context.cc:179] <<--- --- --- ---
2017-11-16 00:52:07.973532 [INFO] [Context.cc:180]   --- --- --- ---
2017-11-16 00:52:07.973532 [INFO] [Context.cc:181]   --- --- --- --->>
2017-11-16 00:52:07.973532 [INFO] [Context.cc:182] aria2 1.33.1
2017-11-16 00:52:07.973532 [INFO] [Context.cc:183] mingw-w64 5.0 (alpha) / gcc 6.3.0 20170516
  built by  x86_64-pc-linux-gnu
  targeting x86_64-w64-mingw32
  on        Nov  8 2017 21:48:38
2017-11-16 00:52:07.973532 [INFO] [Context.cc:184] Windows 6.2 (x86_64) (6.2)
2017-11-16 00:52:07.973532 [INFO] [Context.cc:185] zlib/1.2.11 expat/2.2.4 sqlite3/3.20.1 GMP/6.1.2 c-ares/1.13.0 libssh2/1.8.0
2017-11-16 00:52:07.973532 [INFO] [Context.cc:186] Logging started.
2017-11-16 00:52:07.974034 [INFO] [SocketCore.cc:1579] Checking configured addresses
2017-11-16 00:52:07.976540 [INFO] [SocketCore.cc:1643] Not considered: fe80::8897:592f:95f0:bad2%13
2017-11-16 00:52:07.976540 [INFO] [SocketCore.cc:1643] Not considered: 169.254.186.210
2017-11-16 00:52:07.976540 [INFO] [SocketCore.cc:1643] Not considered: fe80::f55c:9e9a:8502:9384%9
2017-11-16 00:52:07.976540 [INFO] [SocketCore.cc:1643] Not considered: 169.254.147.132
2017-11-16 00:52:07.976540 [INFO] [SocketCore.cc:1643] Not considered: fe80::ac43:1b16:557:93c3%16
2017-11-16 00:52:07.976540 [INFO] [SocketCore.cc:1640] Found configured address: 192.168.0.13
2017-11-16 00:52:07.976540 [INFO] [SocketCore.cc:1643] Not considered: ::1
2017-11-16 00:52:07.976540 [INFO] [SocketCore.cc:1643] Not considered: 127.0.0.1
2017-11-16 00:52:07.976540 [INFO] [SocketCore.cc:1651] IPv4 configured=1, IPv6 configured=0
2017-11-16 00:52:07.976540 [NOTICE] [Context.cc:311] Downloading 1 item(s)
2017-11-16 00:52:07.986226 [DEBUG] [RequestGroupMan.cc:591] 1 RequestGroup(s) added.
2017-11-16 00:52:07.986730 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:07.986730 [DEBUG] [FeedbackURISelector.cc:162] Selected from normCands
2017-11-16 00:52:07.986730 [DEBUG] [FeedbackURISelector.cc:84] FeedbackURISelector selected https://r4---sn-3cgv-umbe.googlevideo.com/videoplayback?id=5c52ce878e0fe73d&itag=133&source=youtube&requiressl=yes&ms=au&mv=m&ei=uXAMWuD7KcPAqQGXk6D4Aw&initcwndbps=1033750&mm=31&pl=22&mn=sn-3cgv-umbe&ratebypass=yes&mime=video/mp4&gir=yes&clen=215365&lmt=1507304560044396&dur=188.040&signature=38DAC5DF11C6DB1C210497D15E14E0D72CB435E4.0C4E77776A53906C3A1D691E43B6352FBD7C9C17&key=dg_yt0&mt=1510764598&ip=xxx.233.202.54&ipbits=0&expire=1510786329&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,mv,ei,initcwndbps,mm,pl,mn,ratebypass,mime,gir,clen,lmt,dur
2017-11-16 00:52:07.986730 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:07.990248 [INFO] [AsyncNameResolverMan.cc:83] CUID#7 - Resolving hostname r4---sn-3cgv-umbe.googlevideo.com
2017-11-16 00:52:08.044888 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:08.044888 [INFO] [AbstractCommand.cc:817] CUID#7 - Name resolution complete: r4---sn-3cgv-umbe.googlevideo.com -> 208.43.170.231
2017-11-16 00:52:08.044888 [INFO] [HttpInitiateConnectionCommand.cc:123] CUID#7 - Connecting to 208.43.170.231:443
2017-11-16 00:52:08.045396 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:09.046908 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:10.049241 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:11.053757 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:12.061455 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:13.062687 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:14.078920 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:15.082758 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:16.085755 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:17.087232 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:18.092603 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:19.097847 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:20.099348 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:21.104027 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:22.105958 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:23.112451 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:24.115885 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:25.119362 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:26.121615 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:27.126711 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:28.128487 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:0
2017-11-16 00:52:29.049738 [DEBUG] [AbstractCommand.cc:184] CUID#7 - socket: read:0, write:0, hup:0, err:1
2017-11-16 00:52:29.049738 [DEBUG] [ServerStat.cc:162] ServerStat: set status ERROR for r4---sn-3cgv-umbe.googlevideo.com (https)
2017-11-16 00:52:29.050740 [INFO] [AbstractCommand.cc:368] CUID#7 - Restarting the download. URI=https://r4---sn-3cgv-umbe.googlevideo.com/videoplayback?id=5c52ce878e0fe73d&itag=133&source=youtube&requiressl=yes&ms=au&mv=m&ei=uXAMWuD7KcPAqQGXk6D4Aw&initcwndbps=1033750&mm=31&pl=22&mn=sn-3cgv-umbe&ratebypass=yes&mime=video/mp4&gir=yes&clen=215365&lmt=1507304560044396&dur=188.040&signature=38DAC5DF11C6DB1C210497D15E14E0D72CB435E4.0C4E77776A53906C3A1D691E43B6352FBD7C9C17&key=dg_yt0&mt=1510764598&ip=xxx.233.202.54&ipbits=0&expire=1510786329&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,mv,ei,initcwndbps,mm,pl,mn,ratebypass,mime,gir,clen,lmt,dur
Exception: [AbstractCommand.cc:368] errorCode=1 URI=https://r4---sn-3cgv-umbe.googlevideo.com/videoplayback?id=5c52ce878e0fe73d&itag=133&source=youtube&requiressl=yes&ms=au&mv=m&ei=uXAMWuD7KcPAqQGXk6D4Aw&initcwndbps=1033750&mm=31&pl=22&mn=sn-3cgv-umbe&ratebypass=yes&mime=video/mp4&gir=yes&clen=215365&lmt=1507304560044396&dur=188.040&signature=38DAC5DF11C6DB1C210497D15E14E0D72CB435E4.0C4E77776A53906C3A1D691E43B6352FBD7C9C17&key=dg_yt0&mt=1510764598&ip=xxx.233.202.54&ipbits=0&expire=1510786329&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,mv,ei,initcwndbps,mm,pl,mn,ratebypass,mime,gir,clen,lmt,dur
  -> [AbstractCommand.cc:313] errorCode=1 Network problem has occurred. cause:A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
@dstftw dstftw closed this Nov 15, 2017
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.