RocketChat / hubot-rocketchat

Rocket.Chat Hubot adapter
MIT License
580 stars 229 forks source link

Rocket Chat Hubot Adapter is not replying back #301

Open jitendra-kr opened 6 years ago

jitendra-kr commented 6 years ago

Hi i am running hubot with rocket chat. I have created another user "mybot" having bot role and used it and got connected successfully.

Below are my environment variables

export ROCKETCHAT_ROOM=''
export LISTEN_ON_ALL_PUBLIC=true
export ROCKETCHAT_USER=mybot
export ROCKETCHAT_PASSWORD=123456789
export ROCKETCHAT_AUTH=password

Hubot is not responding back to me when i am sending any message.

Messages send are visible in terminal logs but a return message is not shown from the hubot.

Screenshot of terminal

screenshot from 2018-10-05 11-45-52

wemu commented 5 years ago

ran into the same issue. I tried getting a hubot script to run bit it requires a newer node version and hubot 3. The "develop" docker image on dockerhub does not seem to match the develop branch here. So I changed a few files (Dockerfile, package.json) on master to update the versions and build my own image. The image starts up and connects to my rocket.chat instance. But no replies come back:

[Sat May 11 2019 10:45:54] INFO [Incoming] wm: echo test
[Sat May 11 2019 10:45:54] INFO Message sent to hubot brain.

I can't figure out where this is broken. Some updated hubot support would be great :)