Roadmap Reveal 🗺 What's next for Rocket.Chat, Sep 22

User not found [403] - Meteor.Error


Connecting using the streaming API via web socket I am attempting to login to the server (no SSL) and am being rejected with “{“msg”:“result”,“id”:“0”,“error”:{“isClientSafe”:true,“error”:403,“reason”:“User not found”,“message”:“User not found [403]”,“errorType”:“Meteor.Error”}}”

Server Setup Information

Version of Rocket.Chat Server: 3.13.0

  • Operating System: Centos 7
  • Deployment Method: Dockercompose
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v12.22.1
  • MongoDB Version: 4.0.24
  • Proxy: none
  • Firewalls none

Any additional Information

Using node JS to form login JSON (client)

let ll = JSON.stringify({

                "msg"    : "method",
                "method" : "login",
                "id"     : myapp.msgId.toString(),
                "params" : [ {
                        "user" : { 
                            "username" : configuration.RocketUsername
                        "password": {
                            "digest"    : "hex(" + encryptedPassword + ")",
                            "algorithm" : "sha-256"

Hi! Have you tried this with the latest version?

Does the value of configuration.RocketUsername variable exists accordingly as a valid user?

Maybe disabling 2AF for this user?

Sorry, I have limited experience with the stream api.

Hey, thanks for the reply. I found by digging a little further in the archive, very much appreciate the response. It seems the error is returned when I incorrectly encrypt the password field.

You are a long time out of date & support. You should be watching the releases and fixes all the time for changes & fixes.

There are security issues on your version. You should upgrade IMMEDIATELY to AT LEAST on 3.13.5


Always update to the latest stable version before reporting any bugs or before ask for help from the community.

1 Like