The header part of a frame cannot be read from the data source
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
We're using the rc10 release but this is way behind the current code base. I can't see the source for the rc10 release but it seems like the current code couldn't even output this error so perhaps its fixed.
Any plans to release a new version to NuGet?
I'm getting the following error midway though a stream. Without the source code it's a bit tricky to say what is the cause. Any ideas or advice?
WebSocketSharp.WebSocketException: The header part of a frame cannot be read from the data source.
at WebSocketSharp.WebSocketFrame.<>c__DisplayClass7.b__6(Byte[] header)
at WebSocketSharp.Ext.<>c__DisplayClass6.b__5(IAsyncResult ar)
Thanks
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 with WebSocketFrame.ReadAsync and Ext.ReadBytesAsync from the stack trace, then compare the rc10 release with the current source because the reporter cannot access the rc10 code. Reproduce the mid-stream failure if possible and determine whether it remains in the current code or is specific to the outdated NuGet release.
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