Grayjay.Desktop icon indicating copy to clipboard operation
Grayjay.Desktop copied to clipboard

Bug: Youtube live content cannot be played

Open rowo2002 opened this issue 1 year ago • 1 comments

Reproduction steps

Attempt to play youtube live content

Actual result

Live content is not be played

Expected result

Live conent should be played

Grayjay Version

9

What plugins are you seeing the problem on?

Youtube

Plugin Version

285

Which operating system are you using?

Linux

Which OS version are you using?

MX-23.6_x64 Libretto January 21, 2024

Are you using flatpak?

  • [ ] Check this if you installed flatpak version for Linux. If unsure, leave blank.

When do you experience the issue?

  • [ ] While logged in
  • [x] While logged out
  • [ ] N/A

Are you using a VPN?

No

References

No response

Relevant log output

[2025-09-30 08:16:57.554] [INFO] [DetailsController] Loading: https://www.youtube.com/watch?v=onPooA09gng
[2025-09-30 08:16:57.559] [INFO] [PlatformClientPool] Started additional [Youtube] client in pool [Main] (2/2)
[2025-09-30 08:16:57.891] [INFO] [Plugin [Youtube]] ["ReloadRequiredException","Async"]
[2025-09-30 08:16:59.345] [INFO] [Plugin [Youtube]] ABR Enabled: false
[2025-09-30 08:16:59.350] [INFO] [Plugin [Youtube]] Using save state
[2025-09-30 08:16:59.493] [INFO] [Plugin [Youtube]] Enabled in [162,7924ms] with saved state
[2025-09-30 08:16:59.501] [INFO] [T] Toast:Using outdated logic, Grayjay update required
[2025-09-30 08:16:59.502] [INFO] [Plugin [Youtube]] ABR Enabled: false
[2025-09-30 08:17:00.185] [INFO] [Plugin [Youtube]] Found new visitor (auth) data: CgtCV25GVXFwUi1HWSjb6-3GBjIKCgJERRIEEgAgYw%3D%3D
[2025-09-30 08:17:00.200] [INFO] [Plugin [Youtube]] New JS Url found: [/s/player/da13af8d/player_ias.vflset/en_US/base.js], fetching new js (total: 1)
[2025-09-30 08:17:00.658] [INFO] [Plugin [Youtube]] Failed to find cipher (name) using conventional ciphers, attempting additional ciphers
[2025-09-30 08:17:00.664] [INFO] [T] Toast:Using advance obfuscated cipher..
[2025-09-30 08:17:00.793] [INFO] [T] Toast:Falling back to virtualized player
[2025-09-30 08:17:00.794] [INFO] [Plugin [Youtube]] Using Cipher Player!!!
[2025-09-30 08:17:01.644] [INFO] [Plugin [Youtube]] CIPHER SOLVED USING PLAYER SOLUTION
[2025-09-30 08:17:01.644] [INFO] [Plugin [Youtube]] getBGDataFromClientConfig
[2025-09-30 08:17:01.645] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.645] [INFO] [Plugin [Youtube]] extractVideoPage_VideoDetails (start)
[2025-09-30 08:17:01.650] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.651] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.651] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.651] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.652] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.652] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.652] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.652] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.652] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.653] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.653] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.653] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.654] [INFO] [Plugin [Youtube]] VisitorDataType: EOM
[2025-09-30 08:17:01.660] [INFO] [Plugin [Youtube]] extractVideoPage_VideoDetails (fin)
[2025-09-30 08:17:01.660] [INFO] [Plugin [Youtube]] requestIOSStreamingData (hls)
[2025-09-30 08:17:01.828] [INFO] [PlatformClientPool] Pool for Youtube was started
[2025-09-30 08:17:01.829] [INFO] [PlatformClientPool] Started additional [Youtube] client in pool [Trackers] (1/1)
[2025-09-30 08:17:02.117] [INFO] [Plugin [Youtube]] ["ReloadRequiredException","Async"]
[2025-09-30 08:17:03.539] [INFO] [Plugin [Youtube]] ABR Enabled: false
[2025-09-30 08:17:03.543] [INFO] [Plugin [Youtube]] Using save state
[2025-09-30 08:17:03.687] [INFO] [Plugin [Youtube]] Enabled in [161,4991ms] with saved state
[2025-09-30 08:17:03.944] [INFO] [LiveChatManager] No new Live Events
[2025-09-30 08:17:03.997] [INFO] [PlatformClientPool] Pool for Youtube was started
[2025-09-30 08:17:03.998] [INFO] [PlatformClientPool] Started additional [Youtube] client in pool [Utility] (1/2)
[2025-09-30 08:17:04.295] [INFO] [Plugin [Youtube]] Generating ABR Video Dash for 134
[2025-09-30 08:17:04.365] [INFO] [Plugin [Youtube]] ["ReloadRequiredException","Async"]
[2025-09-30 08:17:04.421] [INFO] [Plugin [Youtube]] Redirect url found: https://rr4---sn-4g5e6nzl.googlevideo.com/videoplayback?expire=1759234619&ei=23XbaM_UJLSkp-oPx-qLgAU&ip=195.63.68.39&id=onPooA09gng.1&source=yt_live_broadcast&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1759213019%2C&mh=h4&mm=44%2C26&mn=sn-4g5e6nzl%2Csn-h0jeenl6&ms=lva%2Conr&mv=m&mvi=1&pl=16&rms=lva%2Clva&initcwndbps=1700000&spc=hcYD5bRhiqW4JMDMzqUUKf5PtzvxQHqRLysEItfGkyrQ_O81XScf_-mwnHygw18adxopf3We&live=1&hang=1&noclen=1&svpuc=1&ns=88Ghwx-2Aj1_3UIyVX5p-eYQ&sabr=1&rqh=1&mt=1759212774&fvip=4&keepalive=yes&fexp=24350170,24350737,24350796,24350818,24350827,24350984,24351316,24351318,24351528,24352001,24352156,24352539,24352805,24352807,24352916,24352918,24352958,24352961,24352981,24352983,24353009,24353011,24353056,24353058,24353223,24353225,24353287,24353289,24353573,24353575,24353649,24353651,51355912,51552689,51565115,51565682,51580968,51593650&c=WEB&n=keHOgNvHPztcpw&sparams=expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Cxpc%2Cspc%2Clive%2Chang%2Cnoclen%2Csvpuc%2Cns%2Csabr%2Crqh&sig=AJfQdSswRAIgIKjR96O6cxMJ24BZYW6OvsDX0RqZzuL3BIwbQEWQvLkCIGDJ7RgrqvgRXmleFN6H5SO2kIlAgvu9pt-_wF3FPgDx&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRgIhAIL2Ygz7vxyTttz3TP54qelcemv-1e9bivxAuytXox3WAiEAtvkl9-_4oSdNIihyob_pWYZ9XeDVTm9KQUhErjpNBVY%3D&cpn=BDT3wSpw5Nkke9qu&cver=2.20250923.08.00&alr=yes&ir=1,&rr=46,
[2025-09-30 08:17:04.426] [INFO] [Plugin [Youtube]] UMP: No streams found? (Opcodes: 43:1342)
[2025-09-30 08:17:04.426] [INFO] [Plugin [Youtube]] UMPResp Parsed, StreamCount: 0, snackBarId: undefined, retries: 0, 0
[2025-09-30 08:17:04.426] [INFO] [T] Toast:UMP Redirect..
[2025-09-30 08:17:04.427] [INFO] [Plugin [Youtube]] UMP Redirecting to:
https://rr4---sn-4g5e6nzl.googlevideo.com/videoplayback?expire=1759234619&ei=23XbaM_UJLSkp-oPx-qLgAU&ip=195.63.68.39&id=onPooA09gng.1&source=yt_live_broadcast&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1759213019%2C&mh=h4&mm=44%2C26&mn=sn-4g5e6nzl%2Csn-h0jeenl6&ms=lva%2Conr&mv=m&mvi=1&pl=16&rms=lva%2Clva&initcwndbps=1700000&spc=hcYD5bRhiqW4JMDMzqUUKf5PtzvxQHqRLysEItfGkyrQ_O81XScf_-mwnHygw18adxopf3We&live=1&hang=1&noclen=1&svpuc=1&ns=88Ghwx-2Aj1_3UIyVX5p-eYQ&sabr=1&rqh=1&mt=1759212774&fvip=4&keepalive=yes&fexp=24350170,24350737,24350796,24350818,24350827,24350984,24351316,24351318,24351528,24352001,24352156,24352539,24352805,24352807,24352916,24352918,24352958,24352961,24352981,24352983,24353009,24353011,24353056,24353058,24353223,24353225,24353287,24353289,24353573,24353575,24353649,24353651,51355912,51552689,51565115,51565682,51580968,51593650&c=WEB&n=keHOgNvHPztcpw&sparams=expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Cxpc%2Cspc%2Clive%2Chang%2Cnoclen%2Csvpuc%2Cns%2Csabr%2Crqh&sig=AJfQdSswRAIgIKjR96O6cxMJ24BZYW6OvsDX0RqZzuL3BIwbQEWQvLkCIGDJ7RgrqvgRXmleFN6H5SO2kIlAgvu9pt-_wF3FPgDx&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRgIhAIL2Ygz7vxyTttz3TP54qelcemv-1e9bivxAuytXox3WAiEAtvkl9-_4oSdNIihyob_pWYZ9XeDVTm9KQUhErjpNBVY%3D&cpn=BDT3wSpw5Nkke9qu&cver=2.20250923.08.00&alr=yes&ir=1,&rr=46,
[2025-09-30 08:17:04.561] [INFO] [Plugin [Youtube]] UMPResp Parsed, StreamCount: 1, snackBarId: undefined, retries: 0, 0
[2025-09-30 08:17:04.564] [INFO] [Plugin [Youtube]] <?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd" profiles="urn:mpeg:dash:profile:isoff-live:2011" minBufferTime="PT1.5S" type="static" mediaPresentationDuration="PT0H0M0.000S">
  <Period id="0" duration="PT0H0M0.000S">
    <AdaptationSet segmentAlignment="true">
      <Representation id="1" mimeType="video/mp4" codecs="avc1.4d401e" startWithSAP="1" bandwidth="800000" width="640" height="360">
        <SegmentTemplate timescale="-1" startNumber="1" media="https://grayjay.internal/video/internal/segment.mp4?segIndex=$Number$" duration="0" initialization="https://grayjay.internal/video/internal/init.mp4">
          <SegmentTimeline>
          </SegmentTimeline>
        </SegmentTemplate>
                                                                                          
      </Representation>
    </AdaptationSet>
  </Period>
</MPD>

[2025-09-30 08:17:04.570] [ERROR] [V8Converter] FAILED TO PARSE VALUE ON Int32 (Value: NaN)
[2025-09-30 08:17:04.570] [INFO] [Plugin [Youtube]] Generating ABR Audio Dash
[2025-09-30 08:17:04.588] [INFO] [Plugin [Youtube]] Redirect url found: https://rr5---sn-4g5e6nzl.googlevideo.com/videoplayback?expire=1759234619&ei=23XbaM_UJLSkp-oPx-qLgAU&ip=195.63.68.39&id=onPooA09gng.1&source=yt_live_broadcast&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1759213019%2C&mh=h4&mm=44%2C26&mn=sn-4g5e6nzl%2Csn-h0jeenl6&ms=lva%2Conr&mv=m&mvi=1&pl=16&rms=lva%2Clva&initcwndbps=1700000&spc=hcYD5bRhiqW4JMDMzqUUKf5PtzvxQHqRLysEItfGkyrQ_O81XScf_-mwnHygw18adxopf3We&live=1&hang=1&noclen=1&svpuc=1&ns=88Ghwx-2Aj1_3UIyVX5p-eYQ&sabr=1&rqh=1&mt=1759212774&fvip=4&keepalive=yes&fexp=24350737,24350796,24350818,24350827,24350984,24351316,24351318,24351528,24352001,24352156,24352539,24352805,24352807,24352916,24352918,24352958,24352961,24352981,24352983,24353009,24353011,24353056,24353058,24353223,24353225,24353287,24353289,24353573,24353575,24353649,24353651,51355912,51552689,51565115,51565682,51580968,51593650&c=WEB&n=keHOgNvHPztcpw&sparams=expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Cxpc%2Cspc%2Clive%2Chang%2Cnoclen%2Csvpuc%2Cns%2Csabr%2Crqh&sig=AJfQdSswRAIgIKjR96O6cxMJ24BZYW6OvsDX0RqZzuL3BIwbQEWQvLkCIGDJ7RgrqvgRXmleFN6H5SO2kIlAgvu9pt-_wF3FPgDx&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRgIhAIL2Ygz7vxyTttz3TP54qelcemv-1e9bivxAuytXox3WAiEAtvkl9-_4oSdNIihyob_pWYZ9XeDVTm9KQUhErjpNBVY%3D&cpn=QQg7c8bRi3HhtpUL&cver=2.20250923.08.00&alr=yes&ir=1,&rr=46,
[2025-09-30 08:17:04.591] [INFO] [Plugin [Youtube]] UMP: No streams found? (Opcodes: 43:1333)
[2025-09-30 08:17:04.592] [INFO] [Plugin [Youtube]] UMPResp Parsed, StreamCount: 0, snackBarId: undefined, retries: 0, 0
[2025-09-30 08:17:04.592] [INFO] [T] Toast:UMP Redirect..
[2025-09-30 08:17:04.592] [INFO] [Plugin [Youtube]] UMP Redirecting to:
https://rr5---sn-4g5e6nzl.googlevideo.com/videoplayback?expire=1759234619&ei=23XbaM_UJLSkp-oPx-qLgAU&ip=195.63.68.39&id=onPooA09gng.1&source=yt_live_broadcast&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1759213019%2C&mh=h4&mm=44%2C26&mn=sn-4g5e6nzl%2Csn-h0jeenl6&ms=lva%2Conr&mv=m&mvi=1&pl=16&rms=lva%2Clva&initcwndbps=1700000&spc=hcYD5bRhiqW4JMDMzqUUKf5PtzvxQHqRLysEItfGkyrQ_O81XScf_-mwnHygw18adxopf3We&live=1&hang=1&noclen=1&svpuc=1&ns=88Ghwx-2Aj1_3UIyVX5p-eYQ&sabr=1&rqh=1&mt=1759212774&fvip=4&keepalive=yes&fexp=24350737,24350796,24350818,24350827,24350984,24351316,24351318,24351528,24352001,24352156,24352539,24352805,24352807,24352916,24352918,24352958,24352961,24352981,24352983,24353009,24353011,24353056,24353058,24353223,24353225,24353287,24353289,24353573,24353575,24353649,24353651,51355912,51552689,51565115,51565682,51580968,51593650&c=WEB&n=keHOgNvHPztcpw&sparams=expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Cxpc%2Cspc%2Clive%2Chang%2Cnoclen%2Csvpuc%2Cns%2Csabr%2Crqh&sig=AJfQdSswRAIgIKjR96O6cxMJ24BZYW6OvsDX0RqZzuL3BIwbQEWQvLkCIGDJ7RgrqvgRXmleFN6H5SO2kIlAgvu9pt-_wF3FPgDx&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRgIhAIL2Ygz7vxyTttz3TP54qelcemv-1e9bivxAuytXox3WAiEAtvkl9-_4oSdNIihyob_pWYZ9XeDVTm9KQUhErjpNBVY%3D&cpn=QQg7c8bRi3HhtpUL&cver=2.20250923.08.00&alr=yes&ir=1,&rr=46,
[2025-09-30 08:17:04.720] [INFO] [Plugin [Youtube]] UMPResp Parsed, StreamCount: 1, snackBarId: undefined, retries: 0, 0
[2025-09-30 08:17:04.722] [INFO] [Plugin [Youtube]] <?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd" profiles="urn:mpeg:dash:profile:isoff-live:2011" minBufferTime="PT1.5S" type="static" mediaPresentationDuration="PT0H0M0.000S">
  <Period id="0" duration="PT0H0M0.000S">
    <AdaptationSet segmentAlignment="true">
      <Representation id="2" mimeType="audio/mp4" codecs="mp4a.40.2" startWithSAP="1" bandwidth="800000" audioSamplingRate="48000">
        <SegmentTemplate timescale="-1" startNumber="1" media="https://grayjay.internal/audio/internal/segment.mp4?segIndex=$Number$" duration="0" initialization="https://grayjay.internal/audio/internal/init.mp4">
          <SegmentTimeline>
          </SegmentTimeline>
        </SegmentTemplate>
                                                                                          
      </Representation>
    </AdaptationSet>
  </Period>
</MPD>

[2025-09-30 08:17:04.726] [ERROR] [V8Converter] FAILED TO PARSE VALUE ON Int32 (Value: NaN)
[2025-09-30 08:17:04.737] [ERROR] [Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred while executing the request.
Exception: One or more errors occurred. (One or more errors occurred. (Object reference not set to an instance of an object.))
Stack Trace:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.get_Result()
   at Grayjay.ClientServer.Controllers.DetailsController.<>c__DisplayClass31_0.<GenerateSourceDashRaw>b__0(Task`1 t)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Grayjay.ClientServer.Controllers.DetailsController.SourceDash(Int32 videoIndex, Int32 audioIndex, Int32 subtitleIndex, Boolean videoIsLocal, Boolean audioIsLocal, Boolean subtitleIsLocal, Boolean isLoopback, String tag)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Grayjay.ClientServer.RequestLoggingMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
[2025-09-30 08:17:05.269] [WARNING] [DetailsController] Using cached DASH.
[2025-09-30 08:17:05.270] [ERROR] [Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred while executing the request.
Exception: One or more errors occurred. (One or more errors occurred. (Object reference not set to an instance of an object.))
Stack Trace:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.get_Result()
   at Grayjay.ClientServer.Controllers.DetailsController.<>c__DisplayClass31_0.<GenerateSourceDashRaw>b__0(Task`1 t)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Grayjay.ClientServer.Controllers.DetailsController.SourceDash(Int32 videoIndex, Int32 audioIndex, Int32 subtitleIndex, Boolean videoIsLocal, Boolean audioIsLocal, Boolean subtitleIsLocal, Boolean isLoopback, String tag)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Grayjay.ClientServer.RequestLoggingMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
[2025-09-30 08:17:05.733] [INFO] [Plugin [Youtube]] ABR Enabled: false
[2025-09-30 08:17:05.737] [INFO] [Plugin [Youtube]] Using save state
[2025-09-30 08:17:05.792] [WARNING] [DetailsController] Using cached DASH.
[2025-09-30 08:17:05.793] [ERROR] [Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred while executing the request.
Exception: One or more errors occurred. (One or more errors occurred. (Object reference not set to an instance of an object.))
Stack Trace:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.get_Result()
   at Grayjay.ClientServer.Controllers.DetailsController.<>c__DisplayClass31_0.<GenerateSourceDashRaw>b__0(Task`1 t)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Grayjay.ClientServer.Controllers.DetailsController.SourceDash(Int32 videoIndex, Int32 audioIndex, Int32 subtitleIndex, Boolean videoIsLocal, Boolean audioIsLocal, Boolean subtitleIsLocal, Boolean isLoopback, String tag)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Grayjay.ClientServer.RequestLoggingMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
[2025-09-30 08:17:05.859] [INFO] [Plugin [Youtube]] Enabled in [137,3707ms] with saved state
[2025-09-30 08:17:06.308] [WARNING] [DetailsController] Using cached DASH.
[2025-09-30 08:17:06.308] [ERROR] [Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred while executing the request.
Exception: One or more errors occurred. (One or more errors occurred. (Object reference not set to an instance of an object.))
Stack Trace:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.get_Result()
   at Grayjay.ClientServer.Controllers.DetailsController.<>c__DisplayClass31_0.<GenerateSourceDashRaw>b__0(Task`1 t)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Grayjay.ClientServer.Controllers.DetailsController.SourceDash(Int32 videoIndex, Int32 audioIndex, Int32 subtitleIndex, Boolean videoIsLocal, Boolean audioIsLocal, Boolean subtitleIsLocal, Boolean isLoopback, String tag)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Grayjay.ClientServer.RequestLoggingMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)

rowo2002 avatar Sep 30 '25 06:09 rowo2002

Will be resolved through https://github.com/futo-org/grayjay-android/issues/2712

Zvonimir-FUTO avatar Sep 30 '25 07:09 Zvonimir-FUTO