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

Bug: YouTube (v380) initialization is signed out

Open Stroopwafe1 opened this issue 2 days ago • 4 comments

Reproduction steps

  1. Be "signed in" to YouTube
  2. Go to Home
image

Actual result

Home not loading

Expected result

Home loading

Grayjay Version

20

What plugins are you seeing the problem on?

Youtube

Plugin Version

380

Which operating system are you using?

Linux

Which OS version are you using?

NixOS 26.11

Are you using flatpak?

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

When do you experience the issue?

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

Are you using a VPN?

No

References

No response

Relevant log output

[2026-12-04 16.59.47.184] [WARNING] [StatePlatform] StatePlatform Initialize
[2026-12-04 16.59.48.000] [WARNING] [StateDownloads] Found 0 redundant downloaded files, deleting
[2026-12-04 16.59.48.327] [WARNING] [StatePlatform] GetChannelClients TOOK LONG: 279,46ms
[2026-12-04 16.59.48.580] [WARNING] [StateApp] Failed to update subscription channel object due to: YouTube initialization is signed out (Line 542, Col 23)
Exception: YouTube initialization is signed out (Line 542, Col 23)
Stack Trace:    at Grayjay.Engine.GrayjayPlugin.InterceptExceptions[T](Func`1 act, String script)
   at Grayjay.Engine.GrayjayPlugin.RawExecute(String script)
   at Grayjay.Engine.GrayjayPlugin.Enable()
   at Grayjay.Engine.GrayjayPlugin.EnsureEnabled()
   at Grayjay.Engine.GrayjayPlugin.GetSavedState()
   at Grayjay.Engine.GrayjayPlugin.GetCopy(Boolean privateCopy, Options options)
   at Grayjay.ClientServer.Pooling.PlatformClientPool.GetClient(Int32 capacity)
   at Grayjay.ClientServer.Pooling.PlatformMultiClientPool.GetClientPooled(GrayjayPlugin parentClient, Int32 capacity)
   at Grayjay.ClientServer.Extensions.FromPool(GrayjayPlugin client, PlatformMultiClientPool pool)
   at Grayjay.Desktop.POC.Port.States.StatePlatform.GetChannel(String url)
   at Grayjay.ClientServer.States.StateApp.<>c.<Startup>b__33_4()
[2026-12-04 16.59.48.670] [ERROR] [Program] Failed to check updates
Exception: No updater found
Stack Trace:    at Grayjay.ClientServer.Updater.HasUpdate()
   at Grayjay.Desktop.Program.<>c__DisplayClass23_0.<EntryPoint>b__15()
[2026-12-04 16.59.49.017] [ERROR] [StatePlatform] Home failed for plugin [Youtube]: YouTube initialization is signed out (Line 542, Col 23)
Exception: YouTube initialization is signed out (Line 542, Col 23)
Stack Trace:    at Grayjay.Engine.GrayjayPlugin.InterceptExceptions[T](Func`1 act, String script)
   at Grayjay.Engine.GrayjayPlugin.RawExecute(String script)
   at Grayjay.Engine.GrayjayPlugin.Enable()
   at Grayjay.Engine.GrayjayPlugin.EnsureEnabled()
   at Grayjay.Engine.GrayjayPlugin.GetSavedState()
   at Grayjay.Engine.GrayjayPlugin.GetCopy(Boolean privateCopy, Options options)
   at Grayjay.ClientServer.Pooling.PlatformClientPool.GetClient(Int32 capacity)
   at Grayjay.ClientServer.Pooling.PlatformMultiClientPool.GetClientPooled(GrayjayPlugin parentClient, Int32 capacity)
   at Grayjay.Desktop.POC.Port.States.StatePlatform.<>c__DisplayClass47_0.<GetHomeLazy>b__1(GrayjayPlugin client)
[2026-12-04 16.59.52.919] [WARNING] [StateApp] Failed to update subscription channel object due to: YouTube initialization is signed out (Line 542, Col 23)
Exception: YouTube initialization is signed out (Line 542, Col 23)
Stack Trace:    at Grayjay.Engine.GrayjayPlugin.InterceptExceptions[T](Func`1 act, String script)
   at Grayjay.Engine.GrayjayPlugin.RawExecute(String script)
   at Grayjay.Engine.GrayjayPlugin.Enable()
   at Grayjay.Engine.GrayjayPlugin.EnsureEnabled()
   at Grayjay.Engine.GrayjayPlugin.GetSavedState()
   at Grayjay.Engine.GrayjayPlugin.GetCopy(Boolean privateCopy, Options options)
   at Grayjay.ClientServer.Pooling.PlatformClientPool.GetClient(Int32 capacity)
   at Grayjay.ClientServer.Pooling.PlatformMultiClientPool.GetClientPooled(GrayjayPlugin parentClient, Int32 capacity)
   at Grayjay.ClientServer.Extensions.FromPool(GrayjayPlugin client, PlatformMultiClientPool pool)
   at Grayjay.Desktop.POC.Port.States.StatePlatform.GetChannel(String url)
   at Grayjay.ClientServer.States.StateApp.<>c.<Startup>b__33_4()
[2026-12-04 16.59.53.534] [WARNING] [StateSubscriptions] Started new Subscriptions update
[2026-12-04 16.59.54.756] [WARNING] [StatePlatform] GetChannelClients TOOK LONG: 1128,9571ms
[2026-12-04 16.59.54.759] [ERROR] [StateSubscriptions] Subscription [Veera] failed
Exception: YouTube initialization is signed out (Line 542, Col 23)
Stack Trace:    at Grayjay.Engine.GrayjayPlugin.InterceptExceptions[T](Func`1 act, String script)
   at Grayjay.Engine.GrayjayPlugin.RawExecute(String script)
   at Grayjay.Engine.GrayjayPlugin.Enable()
   at Grayjay.Engine.GrayjayPlugin.EnsureEnabled()
   at Grayjay.Engine.GrayjayPlugin.GetSavedState()
   at Grayjay.Engine.GrayjayPlugin.GetCopy(Boolean privateCopy, Options options)
   at Grayjay.ClientServer.Pooling.PlatformClientPool.GetClient(Int32 capacity)
   at Grayjay.ClientServer.Pooling.PlatformMultiClientPool.GetClientPooled(GrayjayPlugin parentClient, Int32 capacity)
   at Grayjay.ClientServer.Extensions.FromPool(GrayjayPlugin client, PlatformMultiClientPool pool)
   at Grayjay.Desktop.POC.Port.States.StatePlatform.GetChannelContent(GrayjayPlugin client, String url, String type, String order)
   at Grayjay.ClientServer.Subscriptions.Algorithms.SubscriptionsTaskFetchAlgorithm.<>c__DisplayClass6_2.<ExecuteSubscriptionTasks>b__2()

Stroopwafe1 avatar Dec 04 '26 16:12 Stroopwafe1

Can you try logging out and back in?

Zvonimir-FUTO avatar Dec 04 '26 16:12 Zvonimir-FUTO

Also related: I am one of those people who was having their auth token issues that couldn't be reproduced #906 #869 where my auth session expires after ~30 minutes


Edit: Logging out and restarting GrayJay, then pressing the login button again showed the channel selector, so it actually did hold on to the auth session.

Stroopwafe1 avatar Dec 04 '26 16:12 Stroopwafe1

I can still watch member only videos and fetch the home page after these 30 minutes and restarting grayjay to be extra sure, so you can consider this issue fixed by the simple logging out and back in again

Stroopwafe1 avatar Dec 04 '26 16:12 Stroopwafe1

Glad to hear that. Thank you for all the feedback!

Zvonimir-FUTO avatar Dec 04 '26 17:12 Zvonimir-FUTO