User Presence Shows Logged in after Log Out


We have many users who’s presence seems to get stuck. Although they log out, they remain as available and logged in. Restarting Mongo and Rocket.Chat will clear this issue, but after many days of running it will once again get stuck. Does anyone else experience this and if so, is there a solution?

Server Setup Information

  • Version of Rocket.Chat Server: 0.71.1
  • Operating System: Linux
  • Deployment Method: Manual Install Tar
  • Number of Running Instances: 8
  • DB Replicaset Oplog:
  • NodeJS Version: 8.12.0
  • MongoDB Version: v3.6.5
  • Proxy: Apache
  • Firewalls involved: None

I got the same issue in latest version 1.0.3 (snap).

Have you found any solution yet @newbie2019? Restarting services seems to work but only for a few weeks.

You shouldn’t need to restart both mongo and Rocket.Chat. Just restarting Rocket.Chat should do the trick. This is typically an issue of some client not handling session right. What clients do you use with any of the users that get stuck?

I’d also recommend taking a look at 1.1.x some presence issues were fixed there.

@aaron.ogle - Yes, we will be updating in the next month or so. I will try just restarting RC service and see if it works.

1 Like

I restarted both mongo & but not Ok, user still show status online. This issue is auto solved within 24 hours.