RocketChat / RocketChat/Rocket.Chat
Users shown as online when offline
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Four of the users in my workspace are always shown as online (i.e. with the green light) even when they are not and all their devices are turned off. This also means they will never be notified on mobile, as the server thinks they’re at their device when they are not.
Steps to reproduce:
unknown
Expected behavior:
The user's status changed to “offline” when their app closes.
Server Setup Information:
Version of Rocket.Chat Server: 4.5.2
Operating System: Alpine Linux
Deployment Method: Docker
Number of Running Instances: 1
DB Replicaset Oplog: ?
NodeJS Version: v14.18.3
MongoDB Version: 4.4.12 / wiredTiger
Proxy: Nginx
Firewalls involved:
Client Setup Information
- Desktop App or Browser Version: Chrome
- Operating System: Windows, Android, iOS
Additional context
There are no errors in the logs, and I have no idea how to solve it. It started a few days ago, after the 4.5.2 update. Thanks.
Relevant logs:
There are no logs hinting at any issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by investigating the server-side user presence handling introduced or affected around the 4.5.2 update; the report provides no file or test entry point. Reproduce the stale online status if possible, then verify that closing all apps changes the user to offline and restores mobile notification behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100