You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Randomly I have a WebSocketException (all event stop working)
To Reproduce
Steps to reproduce the behavior:
Connect to an account
Wait
See the WebSocketException in the console
Error :
System.Net.WebSockets.WebSocketException` (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.
at System.Net.WebSockets.ManagedWebSocket.ThrowEOFUnexpected()
at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory1 payloadBuffer, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
at System.Threading.Tasks.ValueTask1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
--- End of stack trace from previous location ---
at TikTokLiveSharp.Client.Socket.TikTokWebSocket.ReceiveMessage() in E:\LiveTok\LiveShow\TikTokLiveSharp\Client\Socket\TikTokWebSocket.cs:line 151
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived'
at System.Net.WebSockets.WebSocketValidate.ThrowIfInvalidState(WebSocketState currentState, Boolean isDisposed, WebSocketState[] validStates)
The text was updated successfully, but these errors were encountered:
Describe the bug
Randomly I have a WebSocketException (all event stop working)
To Reproduce
Steps to reproduce the behavior:
Connect to an account
Wait
See the WebSocketException in the console
Error :
The text was updated successfully, but these errors were encountered: