Skip to content

Bug: Search feature not working #996

Description

@tum0re

Reproduction steps

  1. Be signed into an account (Youtube for me)
  2. Open any type of channel
  3. Try searching a keyword

Actual result

Nothing, the search didn't work. No videos were displayed.

Expected result

It should give me at least one video with the searched keyword, when I searched a keyword that is sure to give at least one result.

Grayjay Version

17

What plugins are you seeing the problem on?

All

Plugin Version

No response

Which operating system are you using?

Linux

Which OS version are you using?

Linux 7.2.2-1-cachyos

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
  • While logged out
  • N/A

Are you using a VPN?

No

References

No response

Relevant log output

F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/tum0re/.local/share/flatpak
F: Opening user flatpak installation at path /home/tum0re/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Skipping parental controls check for app/app.grayjay.Grayjay/x86_64/stable since parental controls are disabled globally
F: Opening user flatpak installation at path /home/tum0re/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /lib32 does not exist in runtime
F: Cleaning up unused container id 2406561835
F: Cleaning up per-app-ID state for app.grayjay.Grayjay
F: Allocated instance id 3980669594
F: Add defaults in dir /app/grayjay/Grayjay/
F: Add locks in dir /app/grayjay/Grayjay/
F: Allowing dri access
F: Allowing wayland access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/tum0re/.config/pulse/client.conf': Error opening file /home/tum0re/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 77 -- xdg-dbus-proxy --args=76'
F: Running 'bwrap --args 75 -- Grayjay'
[2026-08-31 14:09:32.198] [INFO] [ManagedThreadPool] New threadpool created (16)
[2026-08-31 14:09:32.219] [INFO] [ManagedThreadPool] New threadpool created (4)
[2026-08-31 14:09:32.219] [INFO] [Program] AppContext.BaseDirectory: /app/grayjay/
[2026-08-31 14:09:32.220] [INFO] [Program] Base Directory: /home/tum0re/.var/app/app.grayjay.Grayjay/data/Grayjay
[2026-08-31 14:09:32.220] [INFO] [Program] Temporary Directory: /home/tum0re/.var/app/app.grayjay.Grayjay/data/Grayjay/temp_files
[2026-08-31 14:09:32.266] [INFO] [Program] Log Level: Warning
[2026-08-31 14:09:32.266] [INFO] [Program] Log file path: /home/tum0re/.var/app/app.grayjay.Grayjay/data/Grayjay/log.txt
Log flusher exited with exception: System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at Grayjay.Desktop.POC.Log.<.ctor>b__7_0()
[2026-08-31 14:09:32.567] [WARNING] [StatePlatform] StatePlatform Initialize
[2026-08-31 14:09:33.080] [WARNING] [StateDownloads] Found 0 redundant downloaded files, deleting
[2026-08-31 14:09:33.282] [ERROR] [SyncService] Relay session failed.
Exception: The operation was canceled.
Stack Trace:    at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Threading.CancellationToken.ThrowIfCancellationRequested()
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at SyncShared.Utilities.ConnectToAddressAsync(IPAddress address, Int32 port, CancellationToken token) in /run/build/grayjay/SyncServer/SyncShared/Utilities.cs:line 177
   at SyncShared.Utilities.OpenTcpSocketAsync(String host, Int32 port, CancellationToken cancellationToken) in /run/build/grayjay/SyncServer/SyncShared/Utilities.cs:line 143
   at SyncClient.SyncService.<StartRelayLoop>b__47_0() in /run/build/grayjay/SyncServer/SyncClient/SyncService.cs:line 224
[2026-08-31 14:09:33.399] [ERROR] [Program] Failed to check updates
Exception: No updater found
Stack Trace:    at Grayjay.ClientServer.Updater.HasUpdate()
   at Grayjay.Desktop.Program.<>c__DisplayClass13_0.<EntryPoint>b__14()
[2026-08-31 14:09:34.384] [ERROR] [SyncService] Relay session failed.
Exception: The operation was canceled.
Stack Trace:    at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Threading.CancellationToken.ThrowIfCancellationRequested()
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at SyncShared.Utilities.ConnectToAddressAsync(IPAddress address, Int32 port, CancellationToken token) in /run/build/grayjay/SyncServer/SyncShared/Utilities.cs:line 177
   at SyncShared.Utilities.OpenTcpSocketAsync(String host, Int32 port, CancellationToken cancellationToken) in /run/build/grayjay/SyncServer/SyncShared/Utilities.cs:line 143
   at SyncClient.SyncService.<StartRelayLoop>b__47_0() in /run/build/grayjay/SyncServer/SyncClient/SyncService.cs:line 224
[2026-08-31 14:09:35.737] [WARNING] [StateSubscriptions] Started new Subscriptions update
[2026-08-31 14:09:39.511] [ERROR] [SyncService] Relay session failed.
Exception: The operation was canceled.
Stack Trace:    at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Threading.CancellationToken.ThrowIfCancellationRequested()
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at SyncShared.Utilities.ConnectToAddressAsync(IPAddress address, Int32 port, CancellationToken token) in /run/build/grayjay/SyncServer/SyncShared/Utilities.cs:line 177
   at SyncShared.Utilities.OpenTcpSocketAsync(String host, Int32 port, CancellationToken cancellationToken) in /run/build/grayjay/SyncServer/SyncShared/Utilities.cs:line 143
   at SyncClient.SyncService.<StartRelayLoop>b__47_0() in /run/build/grayjay/SyncServer/SyncClient/SyncService.cs:line 224
[2026-08-31 14:09:49.616] [ERROR] [SyncService] Relay session failed.
Exception: The operation was canceled.
Stack Trace:    at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Threading.CancellationToken.ThrowIfCancellationRequested()
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at SyncShared.Utilities.ConnectToAddressAsync(IPAddress address, Int32 port, CancellationToken token) in /run/build/grayjay/SyncServer/SyncShared/Utilities.cs:line 177
   at SyncShared.Utilities.OpenTcpSocketAsync(String host, Int32 port, CancellationToken cancellationToken) in /run/build/grayjay/SyncServer/SyncShared/Utilities.cs:line 143
   at SyncClient.SyncService.<StartRelayLoop>b__47_0() in /run/build/grayjay/SyncServer/SyncClient/SyncService.cs:line 224
[2026-08-31 14:09:53.963] [ERROR] [StateSubscriptions] Subscription [Lia Ch.【Phase Connect】] failed
Exception: No header for https://www.youtube.com/channel/UCg7sW-h1PUowdiR5K4HlBew/videos (Line 8011, Col 15)
Stack Trace:    at Grayjay.Engine.GrayjayPlugin.InterceptExceptions[T](Func`1 act, String script)
   at Grayjay.Engine.GrayjayPlugin.<>c__DisplayClass124_0.<GetChannelContents>b__0()
   at Grayjay.Engine.GrayjayPlugin.WithIsBusy[T](Func`1 work)
   at Grayjay.ClientServer.Subscriptions.Algorithms.SubscriptionsTaskFetchAlgorithm.<>c__DisplayClass6_2.<ExecuteSubscriptionTasks>b__2()
[2026-08-31 14:10:00.694] [ERROR] [StateSubscriptions] Subscription [SynicalBunni] failed
Exception: GQL returned errors: [{"message":"service error","path":["user","clips"]}] (Line 1089, Col 23)
Stack Trace:    at Grayjay.Engine.GrayjayPlugin.InterceptExceptions[T](Func`1 act, String script)
   at Grayjay.Engine.GrayjayPlugin.<>c__DisplayClass124_0.<GetChannelContents>b__0()
   at Grayjay.Engine.GrayjayPlugin.WithIsBusy[T](Func`1 work)
   at Grayjay.ClientServer.Subscriptions.Algorithms.SubscriptionsTaskFetchAlgorithm.<>c__DisplayClass6_2.<ExecuteSubscriptionTasks>b__2()
[2026-08-31 14:10:00.712] [ERROR] [ManagedThreadPool] UNCAUGHT EXCEPTION IN THREADPOOL [Subscriptions]: The JSON value could not be converted to Grayjay.Engine.Models.Feed.PlatformContent. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
[2026-08-31 14:10:02.521] [ERROR] [StateSubscriptions] Subscription [sadpocky] failed
Exception: GQL returned errors: [{"message":"service error","path":["user","clips"]}] (Line 1089, Col 23)
Stack Trace:    at Grayjay.Engine.GrayjayPlugin.InterceptExceptions[T](Func`1 act, String script)
   at Grayjay.Engine.GrayjayPlugin.<>c__DisplayClass124_0.<GetChannelContents>b__0()
   at Grayjay.Engine.GrayjayPlugin.WithIsBusy[T](Func`1 work)
   at Grayjay.ClientServer.Subscriptions.Algorithms.SubscriptionsTaskFetchAlgorithm.<>c__DisplayClass6_2.<ExecuteSubscriptionTasks>b__2()
[2026-08-31 14:10:02.541] [ERROR] [ManagedThreadPool] UNCAUGHT EXCEPTION IN THREADPOOL [Subscriptions]: The JSON value could not be converted to Grayjay.Engine.Models.Feed.PlatformContent. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
[2026-08-31 14:10:03.926] [ERROR] [StateSubscriptions] Subscription [BerryCrepe] failed
Exception: GQL returned errors: [{"message":"service error","path":["user","clips"]}] (Line 1089, Col 23)
Stack Trace:    at Grayjay.Engine.GrayjayPlugin.InterceptExceptions[T](Func`1 act, String script)
   at Grayjay.Engine.GrayjayPlugin.<>c__DisplayClass124_0.<GetChannelContents>b__0()
   at Grayjay.Engine.GrayjayPlugin.WithIsBusy[T](Func`1 work)
   at Grayjay.ClientServer.Subscriptions.Algorithms.SubscriptionsTaskFetchAlgorithm.<>c__DisplayClass6_2.<ExecuteSubscriptionTasks>b__2()
[2026-08-31 14:10:03.947] [ERROR] [ManagedThreadPool] UNCAUGHT EXCEPTION IN THREADPOOL [Subscriptions]: The JSON value could not be converted to Grayjay.Engine.Models.Feed.PlatformContent. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
[2026-08-31 14:10:04.070] [ERROR] [StateSubscriptions] Subscription [Tobs] failed
Exception: GQL returned errors: [{"message":"service error","path":["user","clips"]}] (Line 1089, Col 23)
Stack Trace:    at Grayjay.Engine.GrayjayPlugin.InterceptExceptions[T](Func`1 act, String script)
   at Grayjay.Engine.GrayjayPlugin.<>c__DisplayClass124_0.<GetChannelContents>b__0()
   at Grayjay.Engine.GrayjayPlugin.WithIsBusy[T](Func`1 work)
   at Grayjay.ClientServer.Subscriptions.Algorithms.SubscriptionsTaskFetchAlgorithm.<>c__DisplayClass6_2.<ExecuteSubscriptionTasks>b__2()
[2026-08-31 14:10:04.097] [ERROR] [ManagedThreadPool] UNCAUGHT EXCEPTION IN THREADPOOL [Subscriptions]: The JSON value could not be converted to Grayjay.Engine.Models.Feed.PlatformContent. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
[2026-08-31 14:10:09.725] [ERROR] [SyncService] Relay session failed.
Exception: The operation was canceled.
Stack Trace:    at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Threading.CancellationToken.ThrowIfCancellationRequested()
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at SyncShared.Utilities.ConnectToAddressAsync(IPAddress address, Int32 port, CancellationToken token) in /run/build/grayjay/SyncServer/SyncShared/Utilities.cs:line 177
   at SyncShared.Utilities.OpenTcpSocketAsync(String host, Int32 port, CancellationToken cancellationToken) in /run/build/grayjay/SyncServer/SyncShared/Utilities.cs:line 143
   at SyncClient.SyncService.<StartRelayLoop>b__47_0() in /run/build/grayjay/SyncServer/SyncClient/SyncService.cs:line 224
[2026-08-31 14:10:26.612] [WARNING] [ChannelController] ChannelContentLoad started
[2026-08-31 14:10:26.613] [WARNING] [ChannelController] ChannelLoad started
[2026-08-31 14:10:27.094] [WARNING] [ChannelController] ChannelContentLoad took 482.1204ms
[2026-08-31 14:10:27.570] [WARNING] [ChannelController] ChannelLoad took 956.794ms
[2026-08-31 14:10:29.842] [ERROR] [SyncService] Relay session failed.
Exception: The operation was canceled.
Stack Trace:    at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Threading.CancellationToken.ThrowIfCancellationRequested()
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at SyncShared.Utilities.ConnectToAddressAsync(IPAddress address, Int32 port, CancellationToken token) in /run/build/grayjay/SyncServer/SyncShared/Utilities.cs:line 177
   at SyncShared.Utilities.OpenTcpSocketAsync(String host, Int32 port, CancellationToken cancellationToken) in /run/build/grayjay/SyncServer/SyncShared/Utilities.cs:line 143
   at SyncClient.SyncService.<StartRelayLoop>b__47_0() in /run/build/grayjay/SyncServer/SyncClient/SyncService.cs:line 224
[2026-08-31 14:10:33.003] [ERROR] [Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred while executing the request.
Exception: No search tab found (Line 801, Col 9)
Stack Trace:    at Grayjay.Engine.GrayjayPlugin.InterceptExceptions[T](Func`1 act, String script)
   at Grayjay.Engine.GrayjayPlugin.EvaluatePager[T](String js, Action`1 modifier)
   at Grayjay.Engine.GrayjayPlugin.<>c__DisplayClass123_0.<SearchChannelContents>b__0()
   at Grayjay.Engine.GrayjayPlugin.WithIsBusy[T](Func`1 work)
   at Grayjay.Engine.GrayjayPlugin.SearchChannelContents(String channelUrl, String query)
   at Grayjay.Desktop.POC.Port.States.StatePlatform.SearchChannelContent(String url, String query)
   at Grayjay.ClientServer.Controllers.ChannelController.ChannelContentLoadSearch(String query, String url)
   at lambda_method203(Closure, Object, Object[])
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
   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__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)
[2026-08-31 14:10:33.457] [ERROR] [Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred while executing the request.
Exception: No search tab found (Line 801, Col 9)
Stack Trace:    at Grayjay.Engine.GrayjayPlugin.InterceptExceptions[T](Func`1 act, String script)
   at Grayjay.Engine.GrayjayPlugin.EvaluatePager[T](String js, Action`1 modifier)
   at Grayjay.Engine.GrayjayPlugin.<>c__DisplayClass123_0.<SearchChannelContents>b__0()
   at Grayjay.Engine.GrayjayPlugin.WithIsBusy[T](Func`1 work)
   at Grayjay.Engine.GrayjayPlugin.SearchChannelContents(String channelUrl, String query)
   at Grayjay.Desktop.POC.Port.States.StatePlatform.SearchChannelContent(String url, String query)
   at Grayjay.ClientServer.Controllers.ChannelController.ChannelContentLoadSearch(String query, String url)
   at lambda_method203(Closure, Object, Object[])
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
   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__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)
[2026-08-31 14:10:37.832] [ERROR] [T] An exception occurred in the IPC
Exception: The operation was canceled.
Stack Trace:    at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Threading.CancellationToken.ThrowIfCancellationRequested()
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.IO.Pipes.PipeStream.ReadAsyncCore(Memory`1 destination, CancellationToken cancellationToken)
   at System.IO.Stream.ReadAtLeastAsyncCore(Memory`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at DotCef.DotCefProcess.<Start>b__28_3()
[2026-08-31 14:10:37.833] [ERROR] [SyncService] Unhandled exception in StartRelayLoop.
Exception: A task was canceled.
Stack Trace:    at SyncClient.SyncService.<StartRelayLoop>b__47_0() in /run/build/grayjay/SyncServer/SyncClient/SyncService.cs:line 358
[2026-08-31 14:10:37.834] [ERROR] [T] An exception occurred while handling UDP result: 'The operation was canceled.':    at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Net.Sockets.SocketReceiveFromResult>.GetResult(Int16 token)
   at System.Net.Sockets.UdpClient.<ReceiveAsync>g__WaitAndWrap|62_0(ValueTask`1 task)
   at FUTO.MDNS.MDNSListener.ReceiveLoopAsync(UdpClient client, CancellationToken cancellationToken) in /run/build/grayjay/SyncServer/FUTO.MDNS/FUTO.MDNS/MDNSListener.cs:line 268
[2026-08-31 14:10:37.834] [ERROR] [T] An exception occurred while handling UDP result: 'The operation was canceled.':    at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Net.Sockets.SocketReceiveFromResult>.GetResult(Int16 token)
   at System.Net.Sockets.UdpClient.<ReceiveAsync>g__WaitAndWrap|62_0(ValueTask`1 task)
   at FUTO.MDNS.MDNSListener.ReceiveLoopAsync(UdpClient client, CancellationToken cancellationToken) in /run/build/grayjay/SyncServer/FUTO.MDNS/FUTO.MDNS/MDNSListener.cs:line 268
[2026-08-31 14:10:37.834] [ERROR] [SyncService] Server socket had an unexpected error.
Exception: Operation canceled
Stack Trace:    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Net.Sockets.Socket>.GetResult(Int16 token)
   at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
--- End of stack trace from previous location ---
   at SyncClient.SyncService.<StartListener>b__42_0() in /run/build/grayjay/SyncServer/SyncClient/SyncService.cs:line 146
[2026-08-31 14:10:37.840] [ERROR] [WebSocketEndpoint] Failed to close socket
Exception: The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived'
Stack Trace:    at System.Net.WebSockets.WebSocketValidate.ThrowIfInvalidState(WebSocketState currentState, Boolean isDisposed, WebSocketState[] validStates)
   at System.Net.WebSockets.ManagedWebSocket.CloseOutputAsyncCore(WebSocketCloseStatus closeStatus, String statusDescription, CancellationToken cancellationToken)
   at Grayjay.ClientServer.WebSockets.WebSocketClient.Handle()
Log flusher exited with exception: System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at Grayjay.Desktop.POC.Log.<.ctor>b__7_0()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions