Open
Description
Several times a day if I have to close and reopen my application, I get this error and after that I have to completely restart my application in order to connect back in:
8/20/2014 1:18:09 PM|Fatal|WebSocket.processException|WebSocketSharp.WebSocketException: The header part of a frame cannot be read from the data source.
at WebSocketSharp.WebSocketFrame+<>c__DisplayClassd.<ParseAsync>b__c (System.Byte[] header) [0x00043] in d:\Visual Studio 2010\Projects\websocket-sharp\WebSocketFrame.cs:631
at WebSocketSharp.Ext+<>c__DisplayClass6.<ReadBytesAsync>b__5 (IAsyncResult ar) [0x00056] in d:\Visual Studio 2010\Projects\websocket-sharp\Ext.cs:626
if I try to reconnect I get:
8/20/2014 1:18:10 PM|Fatal|WebSocket.processException|WebSocketSharp.WebSocketException: An exception has occurred while receiving a HTTP data. ---> System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: value
at WebSocketSharp.Ext.EqualsWith (Int32 value, Char c, System.Action`1 action) [0x00032] in d:\Visual Studio 2010\Projects\websocket-sharp\Ext.cs:445
at WebSocketSharp.WebSocketStream.readHeaders (System.IO.Stream stream, Int32 maxLength) [0x0002b] in d:\Visual Studio 2010\Projects\websocket-sharp\WebSocketStream.cs:115
at WebSocketSharp.WebSocketStream.readHttp[HttpResponse] (System.IO.Stream stream, System.Func`2 parser, Int32 millisecondsTimeout) [0x00039] in d:\Visual Studio 2010\Projects\websocket-sharp\WebSocketStream.cs:151
--- End of inner exception stack trace ---
at WebSocketSharp.WebSocketStream.readHttp[HttpResponse] (System.IO.Stream stream, System.Func`2 parser, Int32 millisecondsTimeout) [0x000f5] in d:\Visual Studio 2010\Projects\websocket-sharp\WebSocketStream.cs:174
at WebSocketSharp.WebSocketStream.sendHttpRequest (System.IO.Stream stream, WebSocketSharp.HttpRequest request, Int32 millisecondsTimeout) [0x00014] in d:\Visual Studio 2010\Projects\websocket-sharp\WebSocketStream.cs:182
at WebSocketSharp.WebSocketStream.SendHttpRequest (WebSocketSharp.HttpRequest request, Int32 millisecondsTimeout) [0x00001] in d:\Visual Studio 2010\Projects\websocket-sharp\WebSocketStream.cs:294
at WebSocketSharp.WebSocket.sendHandshakeRequest (WebSocketSharp.HttpRequest request, Int32 millisecondsTimeout) [0x00020] in d:\Visual Studio 2010\Projects\websocket-sharp\WebSocket.cs:1297
at WebSocketSharp.WebSocket.sendHandshakeRequest () [0x00008] in d:\Visual Studio 2010\Projects\websocket-sharp\WebSocket.cs:1268
at WebSocketSharp.WebSocket.doHandshake () [0x00008] in d:\Visual Studio 2010\Projects\websocket-sharp\WebSocket.cs:906
at WebSocketSharp.WebSocket.connect () [0x0004a] in d:\Visual Studio 2010\Projects\websocket-sharp\WebSocket.cs:797
And thanks a lot for the awesome project.
Metadata
Metadata
Assignees
Labels
No labels