RocketChat / RocketChat/Rocket.Chat.js.SDK

WebSocketEvent closed code 1000

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
146
Forks
99
Avg merge
7h 59m
Merged PRs (30d)
17

Description

I'm receiving following warnings " Unhandled promise rejections: WebSocketEvent{......} " with below code at the end , Any help will be appreciated.


"timeStamp": 1562155511659,
"type": "close",
Symbol(stop_immediate_propagation_flag): false,
Symbol(canceled_flag): false,
Symbol(original_event): WebSocketEvent {
"code": 1000,
"reason": "Normal closure",
"type": "close",

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 issue does not name a repository file, test, entry point, or complete reproduction; it only shows a WebSocket close event with code 1000 and an unhandled promise rejection warning. Start by locating WebSocket event and promise-rejection handling in the SDK, then reproduce the warning and define done as handling the normal closure without an unhandled rejection.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.