sta / sta/websocket-sharp

Having issues with Web Sockets disconnecting almost every 30 mins

Open
#558 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

Hello there,

We have a Windows app written in C#, the server is pulling XML messages from the SQL Server DB, it was working perfectly fine 2 weeks ago (No disconnections), starting on August 13 we started experiencing disconnections and errors in the Ext Class, specifically the ReadBytesAsync method, the error we got is: Cannot access a disposed object. Object name: SslStream... I'm wondering if there is a Windows update that is affecting our solution, we didn't push any change/update since at least 2 months ago... weird, just would like to see if someone else is experiencing a similar issue.

Thanks for read and any help you can provide will be really appreciated.

WebSocket-sharp-Issue1
WebSocket-sharp-Issue2

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.ReadBytesAsync and the SslStream disposal exception, then reproduce the roughly 30-minute disconnect in the Windows C# app while checking the WebSocket and SQL Server context described. Done means identifying a reproducible cause and documenting or fixing the relevant disconnect behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sql
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.