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

connect mattermost not reply in channels #190

Open
codinggg opened this issue Jan 21, 2022 · 0 comments
Open

connect mattermost not reply in channels #190

codinggg opened this issue Jan 21, 2022 · 0 comments

Comments

@codinggg
Copy link

Hello, I use hubot to connect mattermost. Finally, I can talk with hubot in one-by-one, I add bot to channel, but bot can't reply any message alought I send 'help' 'time' message or I @bot 'help' 'time' message. How can bot reply message in channels, below is hubot start run log.
mattermost version: 6.3.0
hubot-matteruser 5.4.5

I don't know how solve it. Please help me. Thank you

Creating network "hubot-matteruser_default" with the default driver
Creating hubot-matteruser_hubot-matteruser_1 ... done
Attaching to hubot-matteruser_hubot-matteruser_1
hubot-matteruser_1 | up to date in 0.811s
hubot-matteruser_1 |
hubot-matteruser_1 | 3 packages are looking for funding
hubot-matteruser_1 | run npm fund for details
hubot-matteruser_1 |
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Logging in with personal access token...
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO api url:http://192.168.0.225:8265/api/v4/users/me
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Websocket URL: ws://192.168.0.225:8265/api/v4/websocket
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Logged in as user "ai_manager" but not connected yet.
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Loading /users/me
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO api url:http://192.168.0.225:8265/api/v4/users/me
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Loading /users/me/preferences
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO api url:http://192.168.0.225:8265/api/v4/users/me/preferences
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Loading /users/me/teams
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO api url:http://192.168.0.225:8265/api/v4/users/me/teams
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] ERROR TypeError: Cannot read property 'error' of null
hubot-matteruser_1 | at p._onPreferences (/usr/src/hubot-matteruser/node_modules/mattermost-client/dist/mattermost-client.js:1:3515)
hubot-matteruser_1 | at Request._callback (/usr/src/hubot-matteruser/node_modules/mattermost-client/dist/mattermost-client.js:1:11951)
hubot-matteruser_1 | at Request.self.callback (/usr/src/hubot-matteruser/node_modules/request/request.js:185:22)
hubot-matteruser_1 | at Request.emit (events.js:400:28)
hubot-matteruser_1 | at Request. (/usr/src/hubot-matteruser/node_modules/request/request.js:1154:10)
hubot-matteruser_1 | at Request.emit (events.js:400:28)
hubot-matteruser_1 | at IncomingMessage. (/usr/src/hubot-matteruser/node_modules/request/request.js:1076:12)
hubot-matteruser_1 | at Object.onceWrapper (events.js:519:28)
hubot-matteruser_1 | at IncomingMessage.emit (events.js:412:35)
hubot-matteruser_1 | at endReadableNT (internal/streams/readable.js:1334:12)
hubot-matteruser_1 | at processTicksAndRejections (internal/process/task_queues.js:82:21)
hubot-matteruser_1 |
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Loaded Me...
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Found 1 teams.
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Found team! ibnqrbxktpbxupfnxqswn9esey
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Loading /users?page=0&per_page=200&in_team=ibnqrbxktpbxupfnxqswn9esey
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO api url:http://192.168.0.225:8265/api/v4/users?page=0&per_page=200&in_team=ibnqrbxktpbxupfnxqswn9esey
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Loading /users/me/teams/ibnqrbxktpbxupfnxqswn9esey/channels
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO api url:http://192.168.0.225:8265/api/v4/users/me/teams/ibnqrbxktpbxupfnxqswn9esey/channels
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Connecting...
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Connected to Mattermost.
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Sending challenge...
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Starting pinger...
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Found 4 subscribed channels.
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Found 4 profiles.
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Loading /users?page=1&per_page=200&in_team=ibnqrbxktpbxupfnxqswn9esey
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO api url:http://192.168.0.225:8265/api/v4/users?page=1&per_page=200&in_team=ibnqrbxktpbxupfnxqswn9esey
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:17 GMT+0000 (Coordinated Universal Time)] INFO Mattermost server: 6.3.0.6.3.0.b4d88b25f2f3523c5e56372d3140bb09.false
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:18 GMT+0000 (Coordinated Universal Time)] INFO hubot-redis-brain: Using default redis on localhost:6379
hubot-matteruser_1 | [Fri Jan 21 2022 08:44:47 GMT+0000 (Coordinated Universal Time)] INFO ping
hubot-matteruser_1 | [Fri Jan 21 2022 08:45:05 GMT+0000 (Coordinated Universal Time)] INFO Someone is typing -> {"event":"typing","data":{"parent_id":"","user_id":"4hkfb4h91bfpifn9hhuxma53cr"},"broadcast":{"omit_users":{"4hkfb4h91bfpifn9hhuxma53cr":true},"user_id":"","channel_id":"qxx5qkcx7ffydjpyz46pg3xceo","team_id":""},"seq":2}

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