sta / sta/websocket-sharp

ERROR: undefined

Open
#125 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I'm using example 2 as server, and example 3 html client as the client
when I tried to connect to the server html client display ERROR: undefined is occured,
the example2 (server side) display
5/7/2015 10:41:09 PM|Fatal|<>c__DisplayClass6.b__5|WebSocketShar
p.WebSocketException: The header part of a frame cannot be read from the data so
urce.
at WebSocketSharp.WebSocketFrame.<>c__DisplayClass
7.b__6(Byte[] header)
at WebSocketSharp.Ext.<>c__DisplayClass6.b__5(IAsyncResult ar)

can anybody give example of html client on this websocket?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the connection with example 2 as the server and example 3 as the HTML client. Read the WebSocketFrame.ReadAsync stack trace and compare the two examples; done means the browser connects without “ERROR: undefined” and the server no longer reports a frame-header read failure, with a working HTML-client example documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, html
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.