-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (The I/O operation has been aborted because of either a thread exit or an application request.)
---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.
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.SocketReceiveFromResult>.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 System.Net.Sockets.UdpClient.<ReceiveAsync>g__WaitAndWrap|61_0(Task`1 task)
--- End of inner exception stack trace ---I believe this is caused by async server query, not 100% sure. (I'm doing both master query and server queries on the results)
using var gameServer = new GameServer(masterServerResponse);
gameServer.SendTimeout = TimeSpan.FromSeconds(5);
gameServer.ReceiveTimeout = TimeSpan.FromSeconds(5);
await gameServer.PerformQueryAsync(cancellationToken: ct);This does not impede functionality afaik, but makes console hard to read.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working