sta / websocket-sharp

A C# implementation of the WebSocket protocol client and server
http://sta.github.io/websocket-sharp
MIT License
5.7k stars 1.66k forks source link

Errors when running Rust Server and trying to connect with RustAdmin (a tool for running rust server_ #276

Open mdot9 opened 8 years ago

mdot9 commented 8 years ago

I have another topic running on this issue here: http://oxidemod.org/threads/rustadmin-rcon-tool.5682/page-88#post-221630

When trying to connect with rust admin, I get this in the server console is this:

7/3/2016 1:16:56 PM|Fatal|<>cDisplayClass6.b5|WebSocketSharp.WebSocketException: An exception has occurred while reading an HTTP request/response. ---> System.IO.EndOfStreamException: The header cannot be read from the data source./200] at WebSocketSharp.HttpBase+<>cDisplayClass1.b0 (Int32 i) [0x00000] in :0 at WebSocketSharp.Ext.EqualsWith (Int32 value, Char c, System.Action1 action) [0x00000] in <filename unknown>:0 at WebSocketSharp.HttpBase.readHeaders (System.IO.Stream stream, Int32 maxLength) [0x00000] in <filename unknown>:0 at WebSocketSharp.HttpBase.Read[HttpRequest] (System.IO.Stream stream, System.Func2 parser, Int32 millisecondsTimeout) [0x00000] in :0 --- End of inner exception stack trace --- at WebSocketSharp.HttpBase.Read[HttpRequest](System.IO.Stream stream, System.Func`2 parser, Int32 millisecondsTimeout) [0x00000] in :0 at WebSocketSharp.HttpRequest.Read (System.IO.Stream stream, Int32 millisecondsTimeout) [0x00000] in :0 at WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext..ctor (System.Net.Sockets.TcpClient tcpClient, System.String protocol, Boolean secure, WebSocketSharp.Net.ServerSslConfiguration sslConfig, WebSocketSharp.Logger logger) [0x00000] in :0 at WebSocketSharp.Ext.GetWebSocketContext (System.Net.Sockets.TcpClient tcpClient, System.String protocol, Boolean secure, WebSocketSharp.Net.ServerSslConfiguration sslConfig, WebSocketSharp.Logger logger) [0x00000] in :0 at WebSocketSharp.Server.WebSocketServer+<>cDisplayClass6.b5 (System.Object state) [0x00000] in :0

mcsaban commented 6 years ago

solved? i have the same problems on win 10