RocketChat / RocketChat/Rocket.Chat

stream-notify-room method in Realtime API

Open
#31,725 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Switched from version 6.1 to version 6.6. Stream-notify-room method stopped working regardless of Event. There are no changes in the documentation, I didn't find any significant changes in the source code. Can you help me to understand? Thanks!

return self.create_subscription( Method.CHANNEL_CHANGES, f"{channel_id}/{changes_types}", False)
I'm getting a successful message {'msg': 'ready', 'subs': ['99c0e0c3-8409-4647-83e0-e43d13d73940']}, but there are no further messages about changes

Server Setup Information:

Rocket.Chat Version: 6.6.0
NodeJS Version: 14.21.3 - x64
MongoDB Version: 5.0.24
MongoDB Engine: wiredTiger
Platform: linux
Process Port: 3001
Site URL: http://localhost:3001
ReplicaSet OpLog: Enabled
Commit Hash: 92a307ec3d
Commit Branch: HEAD

Contributor guide

Open the contributing guide

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 with the Realtime API implementation for the stream-notify-room subscription and reproduce the missing change notifications using the provided Rocket.Chat 6.6.0, NodeJS 14.21.3, and MongoDB 5.0.24 setup. Compare the behavior with version 6.1 and trace the subscription from the ready response to event delivery; done means identifying the regression or required configuration and documenting the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, nodejs, typescript
Domain
api
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.