AndreasReitberger / KlipperRestApiSharp

A C# based library to communicate with a klipper using Moonraker as WebApi base.
https://andreas-reitberger.de/datenbanken-softwareloesungen/nugets/klipperrestapisharp/
Apache License 2.0
14 stars 2 forks source link

TaskCompletionSource`1[TResult].SetResult (TResult result) #43

Closed AndreasReitberger closed 1 year ago

AndreasReitberger commented 1 year ago

Stacktrace:

SIGABRT: System.InvalidOperationException

TaskCompletionSource`1[TResult].SetResult (TResult result)
WebSocket.FinishOpenTask ()
WebSocket.OnInternalOpened ()
WebSocket.OnHandshaked ()
Handshake.ExecuteCommand (WebSocket4Net.WebSocket session, WebSocket4Net.WebSocketCommandInfo commandInfo)
WebSocket.ExecuteCommand (WebSocket4Net.WebSocketCommandInfo commandInfo)
WebSocket.OnDataReceived (System.Byte[] data, System.Int32 offset, System.Int32 length)
WebSocket.client_DataReceived (System.Object sender, SuperSocket.ClientEngine.DataEventArgs e)
ClientSession.OnDataReceived (System.Byte[] data, System.Int32 offset, System.Int32 length)
AsyncTcpSession.ProcessReceive (System.Net.Sockets.SocketAsyncEventArgs e)
AsyncTcpSession.SocketEventArgsCompleted (System.Object sender, System.Net.Sockets.SocketAsyncEventArgs e)
SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs e)
SocketAsyncEventArgs.Complete_internal ()
<.cctor>b__366_10 (System.IAsyncResult ares)
SocketAsyncResult+<>c.<Complete>b__27_0 (System.Object state)
IThreadPoolWorkItem.ExecuteWorkItem ()
ThreadPoolWorkQueue.Dispatch ()
Runtime.ThreadPoolDispatcher (System.Func`1[TResult] callback)
_ThreadPoolWaitCallback.PerformWaitCallback ()

Reference: https://appcenter.ms/users/AndreasReitberger/apps/RC-for-Klipper-3D/crashes/errors/3293070550u/overview