sta / websocket-sharp

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

I keep receiving an error that states "The header part of a frame could not be read. #688

Open NotSlueth opened 2 years ago

NotSlueth commented 2 years ago

I keep receiving this error whenever I receive a message sent over the websocket. I have tried a bunch of different formats from sending bytes to raw json and nothing has worked.

The header part of a frame could not be read. at WebSocketSharp.WebSocketFrame.processHeader(Byte[] header) at WebSocketSharp.WebSocketFrame.<>cDisplayClass71_0.b0(Byte[] bytes) at WebSocketSharp.Ext.<>cDisplayClass57_0.b0(IAsyncResult ar)

img asd