Trying to use netty as WebSocket Server and this lib as client
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
What client sends me: https://mlgimg.xyz/f324edda
Client says error code 1002.
Any ideas?
Log:
WebSocketSharp.WebSocketException: The payload data of a frame cannot be read from the stream.
at WebSocketSharp.WebSocketFrame+<>c__DisplayClass77_0.b__0 (System.Byte[] bytes) [0x00000] in :0
at WebSocketSharp.Ext+<>c__DisplayClass54_0.b__0 (IAsyncResult ar) [0x00000] in :0
WebSocketSharp.WebSocketException: An unsupported opcode.
at WebSocketSharp.WebSocketFrame.processHeader (System.Byte[] header) [0x00000] in :0
at WebSocketSharp.WebSocketFrame+<>c__DisplayClass73_0.b__0 (System.Byte[] bytes) [0x00000] in :0
at WebSocketSharp.Ext+<>c__DisplayClass54_0.b__0 (IAsyncResult ar) [0x00000] in :0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Netty-server and websocket-sharp-client interaction described in the issue, then inspect WebSocketFrame.readPayloadDataAsync and processHeader using the logged exceptions as entry points. Compare the exchanged frames with the WebSocket protocol to identify the unsupported or truncated frame, and confirm the diagnosis with a reproducible test or documented compatibility result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100