Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hubot can't login User not found [403] #339

Open
tutorial0 opened this issue Jan 1, 2021 · 1 comment
Open

Hubot can't login User not found [403] #339

tutorial0 opened this issue Jan 1, 2021 · 1 comment

Comments

@tutorial0
Copy link

The error is

INFO [login] Error: {
  isClientSafe: true,
  error: 403,
  reason: 'User not found',
  message: 'User not found [403]',
  errorType: 'Meteor.Error'
}

I'm working on windows and my hubot.cmd file is:

@echo off

call npm install
SETLOCAL
SET PATH=node_modules\.bin;node_modules\hubot\node_modules\.bin;%PATH%
SET ROCKETCHAT_USER=mybot
SET ROCKETCHAT_PASSWORD=xxxxx
SET ROCKETCHAT_URL=https://mydomainname.bla
SET ROCKETCHAT_ROOM=home
SET ROCKETCHAT_AUTH=password
SET LISTEN_ON_ALL_PUBLIC=false
SET ROCKETCHAT_USESSL=true
SET BOT_NAME=mybot

node_modules\.bin\hubot.cmd --name "mybot" %*

I installed rocketchat 3.9.3 with snap(Node v12.18.4, Mongo 3.6.14, Linux 4.15.0-124-generic) and I can login to WebUI with this bot's username and password.
I added my bot exactly as in README file:

From Administration > Users menu
Select + to make a new user
Enter Name, Username, Email (tick verified) and Password
Disable Require password change
Select bot from role selection and click Add Role
Disable Join default channels recommended, to avoid accidental listening
Disable Send welcome email
Save

Anyone knows why?

@oscarkraemer
Copy link

What kind of authentication are you using? If you are using LDAP does it help if you turn on Login Fallback https://docs.rocket.chat/guides/administrator-guides/authentication/ldap/basic-settings ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants