sta / sta/websocket-sharp

WebSocket authentication - raising event or error message "Not Valid Credentials"

Open
#376 1 comment 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

After trying to connect "WebSocket client" and using a wrong username or password how can I get an event or error before closing this is "Not Valid Credentials" .. now it is closing WebSocket with Reason "An exception has occurred while connecting." and code: 1002

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

No files, tests, or specific entry points are identified. Start by tracing the WebSocket client authentication and connection-closing path for invalid credentials, then determine how the existing exception becomes close reason "An exception has occurred while connecting" with code 1002. Done means invalid username or password is exposed through an event or error message before the connection closes.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.