mandatoryprogrammer / mandatoryprogrammer/CursedChrome

Unauthenticated WebSocket has disconnected from us.

Open
#54 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
249
PR merge metrics
No merged PRs in 30d

Description

cursedchrome_1 | [March 9th 2022, 7:21:36 pm] A new browser has connected to us via WebSocket!
cursedchrome_1 | [March 9th 2022, 7:21:36 pm] Authenticating newly-connected browser...
cursedchrome_1 | [March 9th 2022, 7:21:36 pm] Unauthenticated WebSocket has disconnected from us.
cursedchrome_1 | (node:20) UnhandledPromiseRejectionWarning: A timeout occurred when authenticating WebSocket client.
cursedchrome_1 | (node:20) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

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

The report concerns the WebSocket authentication path and a timeout rejection in the Node.js process. Start by locating the code that logs authentication and disconnection events, then trace how an authentication timeout is handled. Done means the unauthenticated disconnect no longer produces an unhandled promise rejection.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
networking, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.