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

Getting Error message message: 'User not found [403]', errorType: 'Meteor.Error' } #330

Closed
netwninja opened this issue Nov 7, 2019 · 1 comment

Comments

@netwninja
Copy link

SETUP

HUBOT ==========Rocketchat server

.ENV

export ROCKETCHAT_URL=http://10.0.0.142:3000
export ROCKETCHAT_USER=pibot
export ROCKETCHAT_PASSWORD=password
export ROCKETCHAT_ROOM=general

COMMAND & ERROR LOGs

source .env
bin/hubot -a rocketchat

 password: 'password',
  ldap: false,
  host: 'rocket:3000',
  useSsl: false,
  timeout: 20000,
  rooms: [ 'general' ],
  allPublic: false,
  dm: false,
  livechat: false,
  edited: false,
  integrationId: 'js.SDK',
  roomCacheMaxSize: 10,
  roomCacheMaxAge: 300000,
  dmCacheMaxSize: 10,
  dmCacheMaxAge: 100000 }
[Thu Nov 07 2019 06:17:21 GMT+0000 (Greenwich Mean Time)] INFO [connect] Connected
[Thu Nov 07 2019 06:17:21 GMT+0000 (Greenwich Mean Time)] INFO [login] Logging in pibot
[Thu Nov 07 2019 06:17:21 GMT+0000 (Greenwich Mean Time)] INFO [login] Error: { isClientSafe: true,
  error: 403,
  reason: 'User not found',
  message: 'User not found [403]',
  errorType: 'Meteor.Error' }
[Thu Nov 07 2019 06:17:21 GMT+0000 (Greenwich Mean Time)] ERROR Unable to login: {"isClientSafe":true,"error":403,"reason":"User not found","message":"User not found [403]","errorType":"Meteor.Error"}


And using the same above mentioned BOT account i can login to rocket chat via GUI or WEB.
I know for sure the user account has been setup correctly(username as pibot, Role as BOT, EMAIL verified option is checked, using outlook email account and password change option disabled)

Thanks
GS

@netwninja
Copy link
Author

Issue got resolved after enabling View-C option for BOT under Permissions.
Had to try Hubot connection to RC multiple times.
Not sure if it's a bug.

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

1 participant