Bug: Youtube Home Page Recomendations Fail After Seccond Launch On Login
Reproduction steps
- log into youtube plugin
- home page should load
- close grayjay and reopen it again OR reopen it by clicking the executable again while it is open
- home page will be empty so long as you disable fallback to trending
Actual result
home page fails to load on all subsequent grayjay launches on seccond launch
Expected result
Home Page To Load 100% of the time
Grayjay Version
17
What plugins are you seeing the problem on?
Youtube
Plugin Version
326
Which operating system are you using?
Linux
Which OS version are you using?
https://termbin.com/9kxw
Are you using flatpak?
- [ ] 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
Youtube was experiencing problems with its homepage and recommendations system starting last night: https://support.google.com/youtube/thread/410904426 this might be related to that, does it work for you now?
Youtube was experiencing problems with its homepage and recommendations system starting last night: https://support.google.com/youtube/thread/410904426 this might be related to that, does it work for you now?
@orhan98 this issue only started to occur once i upgraded to the newest grayjay version from version 13 which was exactly 3 hours ago from this comment posting and i can confirm that the home page works perfectly on grayjay 13 without any issue (same plugin version)
I can confirm that I'm only having this issue today, after the issue on Google's site already says it was fixed. GrayJay said my cookies were bad and to relog, I logged out of the YT Source, closed and reopened GJ, then logged back into YT. After that, it loaded my home page properly then after one video when it reloaded, it went to Top Stories. Then I had to log out and back in again to get my recommended page again, then the same thing happened. This is all within the last hour.
I was trying to figure out why my home page kept showing top stories even after logging out and back in when it reloaded. It seems like it's probably tied to this and I just have the fallback to trending option on.
Ok so I tried something and it worked. I noticed that GrayJay was installed in a directory named something like “GrayJay.desktopv9” since I had originally installed version 9. But we are on version 17. So I just downloaded the installer again and ran it. It installed into just a plain GrayJay folder and I redid all my settings and subs and everything and now it works completely fine.
Ok so I tried something and it worked. I noticed that GrayJay was installed in a directory named something like “GrayJay.desktopv9” since I had originally installed version 9. But we are on version 17. So I just downloaded the installer again and ran it. It installed into just a plain GrayJay folder and I redid all my settings and subs and everything and now it works completely fine.
Hm... so I guess it's something settings related? Still hard to narrow it down.
Potentially. But looking at the file structure of both, it looks like something has changed and maybe there’s just old stuff in my previous install? I’m not sure though
On Fri, Feb 20, 2026 at 8:22 AM Zvonimir-FUTO @.***> wrote:
Zvonimir-FUTO left a comment (futo-org/Grayjay.Desktop#869) https://github.com/futo-org/Grayjay.Desktop/issues/869#issuecomment-3935149889
Ok so I tried something and it worked. I noticed that GrayJay was installed in a directory named something like “GrayJay.desktopv9” since I had originally installed version 9. But we are on version 17. So I just downloaded the installer again and ran it. It installed into just a plain GrayJay folder and I redid all my settings and subs and everything and now it works completely fine.
Hm... so I guess it's something settings related? Still hard to narrow it down.
— Reply to this email directly, view it on GitHub https://github.com/futo-org/Grayjay.Desktop/issues/869#issuecomment-3935149889, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLIVSYIEYUMQ6CSBDYE2L34M4KBZAVCNFSM6AAAAACVSGC62WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSMZVGE2DSOBYHE . You are receiving this because you commented.Message ID: <futo-org/Grayjay .@.***>
Ok so I tried something and it worked. I noticed that GrayJay was installed in a directory named something like “GrayJay.desktopv9” since I had originally installed version 9. But we are on version 17. So I just downloaded the installer again and ran it. It installed into just a plain GrayJay folder and I redid all my settings and subs and everything and now it works completely fine.
I had already done a reinstall to a plain Grayjay folder instead of a versioned one a while back and am still having the issue. If reinstalling did fix it, though, that makes me think that it's something residual from updating from the prior version.
I did some testing of my own. I think it's that youtube is treating me as if I'm no longer logged in. Because during the period of time that the home page works, the videos watched show up in history, but when I go back and it's showing trending, even if I go to channel videos directly, they don't show up in the history. To be clear, I reproduced the issue in this directly just by turning off the fallback option mentioned.
Ok, did some further tracking/testing. I definitely think this is just a side effect of the youtube plugin seemingly randomly losing the login. It seems a random amount of time and the youtube source loses logged in functionality even though it still says logged in when you go to the source. If you close and reopen the app after it's "lost the login" and have that setting set, it'll behave as described. It should probably be labelled as a different issue. I'm still having it happen, so if there's anything in the log I can do to help figure out why that is happening, I can do it. Largely because I don't feel like reinstalling again. It's really annoying, though, cause it seems to randomly happen between like 2 minutes and 40 minutes.
Ok, well, about an hour after the last message through to now it's not been happening anymore to me, so I can't give useful information, I guess.
I'm also experiencing this issue. I sign in to get access to member content, but have to relogin after every video which seems like that is not how it should be.
Using grayjay flatpak version 17. Relevant log entry:
[2026-02-28 16.02.55.390] [ERROR] [Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred while executing the request.
Exception: No authenticationScheme was specified, and there was no DefaultForbidScheme found. The default schemes can be set using either AddAuthentication(string defaultScheme) or AddAuthentication(Action<AuthenticationOptions> configureOptions).
Stack Trace: at Microsoft.AspNetCore.Authentication.AuthenticationService.ForbidAsync(HttpContext context, String scheme, AuthenticationProperties properties)
at Microsoft.AspNetCore.Mvc.ForbidResult.ExecuteResultAsync(ActionContext context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeResultFilters>g__Awaited|28_0(ResourceInvoker 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__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Grayjay.ClientServer.RequestLoggingMiddleware.InvokeAsync(HttpContext context)
at Grayjay.ClientServer.TokenMiddleware.InvokeAsync(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
This just started happening to me again today, after the plugin update for YouTube, and after finally getting a video to play after this other bug that cropped up due to the update: #892
I doubt they are related, but the fact the other bug kept happening after the update and then this happened again after finally having a longer video play without the other bug, is odd to me.
so i think it actually has Loaded the results but cant render them? @Zvonimir-FUTO
[2026-03-13 08:59:38.714] [INFO] [T] Load next page
[2026-03-13 08:59:38.714] [INFO] [T] New results: 30
[2026-03-13 08:59:38.714] [VERBOSE] [Microsoft.AspNetCore.Hosting.Diagnostics] Request starting HTTP/1.1 GET http://127.0.0.1:42593/search/PreviousSearches - - -
[2026-03-13 08:59:38.714] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor] Executing ObjectResult, writing value of type 'Grayjay.ClientServer.Models.PagerResult`1[[Grayjay.Engine.Models.Feed.PlatformContent, Grayjay.Engine, Version=1.17.0.0, Culture=neutral, PublicKeyToken=null]]'.
[2026-03-13 08:59:38.714] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] Executed action Grayjay.ClientServer.Controllers.HomeController.HomeNextPage (Grayjay.ClientServer) in 0.6382ms
[2026-03-13 08:59:38.714] [VERBOSE] [Microsoft.AspNetCore.Routing.EndpointMiddleware] Executed endpoint 'Grayjay.ClientServer.Controllers.HomeController.HomeNextPage (Grayjay.ClientServer)'
[2026-03-13 08:59:38.715] [DEBUG] [RequestLoggingMiddleware] Request ended (47b40bff-c0dc-476d-accd-d3d0ba6e739a): GET /home/HomeNextPage, Status: 200, Duration: 2ms
[2026-03-13 08:59:38.715] [VERBOSE] [Microsoft.AspNetCore.Hosting.Diagnostics] Request finished HTTP/1.1 GET http://127.0.0.1:42593/home/HomeNextPage - 200 - application/json;+charset=utf-8 2.4993ms
[2026-03-13 08:59:38.716] [DEBUG] [RequestLoggingMiddleware] Request started (e172d7f6-7edb-4e3f-8948-c281451a7cbf): GET /search/PreviousSearches
[2026-03-13 08:59:38.716] [VERBOSE] [Microsoft.AspNetCore.Routing.EndpointMiddleware] Executing endpoint 'Grayjay.ClientServer.Controllers.SearchController.PreviousSearches (Grayjay.ClientServer)'
[2026-03-13 08:59:38.716] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] Route matched with {action = "PreviousSearches", controller = "Search"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult`1[System.Collections.Generic.IEnumerable`1[System.String]] PreviousSearches() on controller Grayjay.ClientServer.Controllers.SearchController (Grayjay.ClientServer).
[2026-03-13 08:59:38.717] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
[2026-03-13 08:59:38.717] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] Executed action Grayjay.ClientServer.Controllers.SearchController.PreviousSearches (Grayjay.ClientServer) in 0.6674ms
[2026-03-13 08:59:38.718] [VERBOSE] [Microsoft.AspNetCore.Routing.EndpointMiddleware] Executed endpoint 'Grayjay.ClientServer.Controllers.SearchController.PreviousSearches (Grayjay.ClientServer)'
[2026-03-13 08:59:38.718] [DEBUG] [RequestLoggingMiddleware] Request ended (e172d7f6-7edb-4e3f-8948-c281451a7cbf): GET /search/PreviousSearches, Status: 200, Duration: 2ms
[2026-03-13 08:59:38.718] [VERBOSE] [Microsoft.AspNetCore.Hosting.Diagnostics] Request finished HTTP/1.1 GET http://127.0.0.1:42593/search/PreviousSearches - 200 - application/json;+charset=utf-8 4.1715ms
[2026-03-13 08:59:38.719] [VERBOSE] [Microsoft.AspNetCore.Hosting.Diagnostics] Request starting HTTP/1.1 GET http://127.0.0.1:42593/home/HomeNextPage - - -
[2026-03-13 08:59:38.720] [DEBUG] [RequestLoggingMiddleware] Request started (462186a3-141e-4b00-a333-fad194899373): GET /home/HomeNextPage
[2026-03-13 08:59:38.720] [VERBOSE] [Microsoft.AspNetCore.Routing.EndpointMiddleware] Executing endpoint 'Grayjay.ClientServer.Controllers.HomeController.HomeNextPage (Grayjay.ClientServer)'
[2026-03-13 08:59:38.720] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] Route matched with {action = "HomeNextPage", controller = "Home"}. Executing controller action with signature Grayjay.ClientServer.Models.PagerResult`1[Grayjay.Engine.Models.Feed.PlatformContent] HomeNextPage() on controller Grayjay.ClientServer.Controllers.HomeController (Grayjay.ClientServer).
[2026-03-13 08:59:38.721] [INFO] [T] Load next page
[2026-03-13 08:59:38.721] [INFO] [T] New results: 30
[2026-03-13 08:59:38.721] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor] Executing ObjectResult, writing value of type 'Grayjay.ClientServer.Models.PagerResult`1[[Grayjay.Engine.Models.Feed.PlatformContent, Grayjay.Engine, Version=1.17.0.0, Culture=neutral, PublicKeyToken=null]]'.
[2026-03-13 08:59:38.722] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] Executed action Grayjay.ClientServer.Controllers.HomeController.HomeNextPage (Grayjay.ClientServer) in 0.8403ms
[2026-03-13 08:59:38.722] [VERBOSE] [Microsoft.AspNetCore.Routing.EndpointMiddleware] Executed endpoint 'Grayjay.ClientServer.Controllers.HomeController.HomeNextPage (Grayjay.ClientServer)'
[2026-03-13 08:59:38.722] [DEBUG] [RequestLoggingMiddleware] Request ended (462186a3-141e-4b00-a333-fad194899373): GET /home/HomeNextPage, Status: 200, Duration: 2ms
[2026-03-13 08:59:38.722] [VERBOSE] [Microsoft.AspNetCore.Hosting.Diagnostics] Request finished HTTP/1.1 GET http://127.0.0.1:42593/home/HomeNextPage - 200 - application/json;+charset=utf-8 2.7984ms
[2026-03-13 08:59:38.747] [VERBOSE] [Microsoft.AspNetCore.Hosting.Diagnostics] Request starting HTTP/1.1 GET http://127.0.0.1:42593/casting/PinnedDevices - - -
[2026-03-13 08:59:38.747] [DEBUG] [RequestLoggingMiddleware] Request started (6c07a5b0-7cf1-4ad1-ad12-ac9827725cfa): GET /casting/PinnedDevices
[2026-03-13 08:59:38.748] [VERBOSE] [Microsoft.AspNetCore.Routing.EndpointMiddleware] Executing endpoint 'Grayjay.ClientServer.Controllers.CastingController.PinnedDevices (Grayjay.ClientServer)'
[2026-03-13 08:59:38.748] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] Route matched with {action = "PinnedDevices", controller = "Casting"}. Executing controller action with signature System.Collections.Generic.List`1[Grayjay.ClientServer.Casting.CastingDeviceInfo] PinnedDevices() on controller Grayjay.ClientServer.Controllers.CastingController (Grayjay.ClientServer).
[2026-03-13 08:59:38.749] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Grayjay.ClientServer.Casting.CastingDeviceInfo, Grayjay.ClientServer, Version=1.17.0.0, Culture=neutral, PublicKeyToken=null]]'.
[2026-03-13 08:59:38.749] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] Executed action Grayjay.ClientServer.Controllers.CastingController.PinnedDevices (Grayjay.ClientServer) in 0.6095ms
[2026-03-13 08:59:38.749] [VERBOSE] [Microsoft.AspNetCore.Routing.EndpointMiddleware] Executed endpoint 'Grayjay.ClientServer.Controllers.CastingController.PinnedDevices (Grayjay.ClientServer)'
[2026-03-13 08:59:38.750] [DEBUG] [RequestLoggingMiddleware] Request ended (6c07a5b0-7cf1-4ad1-ad12-ac9827725cfa): GET /casting/PinnedDevices, Status: 200, Duration: 2ms
[2026-03-13 08:59:38.750] [VERBOSE] [Microsoft.AspNetCore.Hosting.Diagnostics] Request finished HTTP/1.1 GET http://127.0.0.1:42593/casting/PinnedDevices - 200 - application/json;+charset=utf-8 2.8093ms
[2026-03-13 08:59:38.759] [VERBOSE] [Microsoft.AspNetCore.Hosting.Diagnostics] Request starting HTTP/1.1 GET http://127.0.0.1:42593/home/HomeNextPage - - -
[2026-03-13 08:59:38.759] [VERBOSE] [Microsoft.AspNetCore.Hosting.Diagnostics] Request starting HTTP/1.1 GET http://127.0.0.1:42593/window/Ready - - -
[2026-03-13 08:59:38.759] [DEBUG] [RequestLoggingMiddleware] Request started (3161341b-2306-4b7e-bbd9-7ae35dcad6df): GET /home/HomeNextPage
[2026-03-13 08:59:38.759] [DEBUG] [RequestLoggingMiddleware] Request started (07f6f661-57a0-4a2b-9a7b-402d8a628b80): GET /window/Ready
[2026-03-13 08:59:38.759] [VERBOSE] [Microsoft.AspNetCore.Routing.EndpointMiddleware] Executing endpoint 'Grayjay.ClientServer.Controllers.WindowController.Ready (Grayjay.ClientServer)'
[2026-03-13 08:59:38.759] [VERBOSE] [Microsoft.AspNetCore.Routing.EndpointMiddleware] Executing endpoint 'Grayjay.ClientServer.Controllers.HomeController.HomeNextPage (Grayjay.ClientServer)'
[2026-03-13 08:59:38.760] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] Route matched with {action = "Ready", controller = "Window"}. Executing controller action with signature Void Ready() on controller Grayjay.ClientServer.Controllers.WindowController (Grayjay.ClientServer).
[2026-03-13 08:59:38.760] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] Route matched with {action = "HomeNextPage", controller = "Home"}. Executing controller action with signature Grayjay.ClientServer.Models.PagerResult`1[Grayjay.Engine.Models.Feed.PlatformContent] HomeNextPage() on controller Grayjay.ClientServer.Controllers.HomeController (Grayjay.ClientServer).
[2026-03-13 08:59:38.761] [INFO] [T] Load next page
[2026-03-13 08:59:38.760] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] Executed action Grayjay.ClientServer.Controllers.WindowController.Ready (Grayjay.ClientServer) in 0.0734ms
[2026-03-13 08:59:38.761] [VERBOSE] [Microsoft.AspNetCore.Routing.EndpointMiddleware] Executed endpoint 'Grayjay.ClientServer.Controllers.WindowController.Ready (Grayjay.ClientServer)'
[2026-03-13 08:59:38.761] [INFO] [T] New results: 30
[2026-03-13 08:59:38.761] [DEBUG] [RequestLoggingMiddleware] Request ended (07f6f661-57a0-4a2b-9a7b-402d8a628b80): GET /window/Ready, Status: 200, Duration: 2ms
[2026-03-13 08:59:38.762] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor] Executing ObjectResult, writing value of type 'Grayjay.ClientServer.Models.PagerResult`1[[Grayjay.Engine.Models.Feed.PlatformContent, Grayjay.Engine, Version=1.17.0.0, Culture=neutral, PublicKeyToken=null]]'.
[2026-03-13 08:59:38.762] [VERBOSE] [Microsoft.AspNetCore.Hosting.Diagnostics] Request finished HTTP/1.1 GET http://127.0.0.1:42593/window/Ready - 200 0 - 3.0257ms
[2026-03-13 08:59:38.762] [VERBOSE] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] Executed action Grayjay.ClientServer.Controllers.HomeController.HomeNextPage (Grayjay.ClientServer) in 1.3295ms
[2026-03-13 08:59:38.763] [VERBOSE] [Microsoft.AspNetCore.Routing.EndpointMiddleware] Executed endpoint 'Grayjay.ClientServer.Controllers.HomeController.HomeNextPage (Grayjay.ClientServer)'
[2026-03-13 08:59:38.763] [DEBUG] [RequestLoggingMiddleware] Request ended (3161341b-2306-4b7e-bbd9-7ae35dcad6df): GET /home/HomeNextPage, Status: 200, Duration: 3ms
[2026-03-13 08:59:38.763] [VERBOSE] [Microsoft.AspNetCore.Hosting.Diagnostics] Request finished HTTP/1.1 GET http://127.0.0.1:42593/home/HomeNextPage - 200 - application/json;+charset=utf-8 4.2802ms
[2026-03-13 08:59:39.115] [DEBUG] [T] PackageHttp.Request [https://m.youtube.com](200) 460ms
[2026-03-13 08:59:39.118] [INFO] [Plugin [Youtube]] Unknown shelf renderer in extractRichSectionRenderer_Shelf: searchBarEntryPointViewModel
[2026-03-13 08:59:39.118] [INFO] [Plugin [Youtube]] Unknown shelf renderer in extractRichSectionRenderer_Shelf: feedNudgeRenderer
[2026-03-13 08:59:39.118] [INFO] [Plugin [Youtube]] No results, not attempting trending.
[2026-03-13 08:59:39.119] [INFO] [StatePlatform] Resolving 0 lazy results (06f1d360-6704-4122-a8ee-8d98b1681d7e)
literally all i did to fix this was re-downloading the tar file and deleting the original folder before extracting it
This has happened once again. It re-occurs every time that I have to log in again, then seems to randomly fix itself. I also cannot get the app to output a log file. I've set the log level to verbose and can't find any setting to make it actually output a log, and no log file is placed in any part of the app directory. Running it from the command line also doesn't seem to give me any output in the window.
This has happened once again. It re-occurs every time that I have to log in again, then seems to randomly fix itself. I also cannot get the app to output a log file. I've set the log level to verbose and can't find any setting to make it actually output a log, and no log file is placed in any part of the app directory. Running it from the command line also doesn't seem to give me any output in the window.
Home not loading when you are not logged in makes sense. Which OS are you using?
This has happened once again. It re-occurs every time that I have to log in again, then seems to randomly fix itself. I also cannot get the app to output a log file. I've set the log level to verbose and can't find any setting to make it actually output a log, and no log file is placed in any part of the app directory. Running it from the command line also doesn't seem to give me any output in the window.
Home not loading when you are not logged in makes sense. Which OS are you using?
I think the main issue that prompted this originally showing up is that it seemingly at random treats you as if you're logged out even shortly after you just logged back in. You log in, it works as logged in for a brief period, then the youtube plugin still shows you as logged in, but the way it behaves is as if you weren't logged in. Might be better as a separate issue, but that's what I was seeing when I was trying to figure out why this was happening to me.
Think it's the same issue we are now investigating through #906
Think it's the same issue we are now investigating through #906
Yeah, looks like it's probably the same, just when you have fallback to trending disabled.