sta / sta/websocket-sharp

Error in Ext.cs:line 672 Unable to read data from the transport connection

Open
#343 5 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

The program often appears in the long run, causing the connection to be disconnected
Has anyone ever encountered the same problem?

2017-03-14 17:04:14|Fatal|WebSocket.b__175_2:1971|System.IO.IOException: Unable to read data from the transport connection: The remote host forces an existing connection to be closed。. ---> System.Net.Sockets.SocketException: The remote host forces an existing connection to be closed。
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
at WebSocketSharp.Ext.<>c__DisplayClass55_0.b__0(IAsyncResult ar) in G:\NewJob\websocket-sharp\Ext.cs:line 672

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 at Ext.cs line 672 and trace the WebSocket startReceiving path around the reported NetworkStream.EndRead exception. Reproduce the long-running connection failure if possible and review the five existing comments for context. The issue does not define the expected behavior or a clear completion condition.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.