I have a fresh install of Mattermost and trying to connect Hubot to it.
When I execute the command bin/hubot, the bot it starting fine but connecting it to Mattermost it fails:
bin/hubot -a mattermost
[Thu Feb 25 2016 12:17:23 GMT+0100 (CET)] EMERGENCY MATTERMOST_TOKEN is required
I deployed a hubot for our mattermost yesterday and everything works fine. We you hubot-mattermost.
Did you set environment variables? Or did you create a .hubotrc file with the correct export commands?
The exception in the first post looks like you did not set the correct environment variables.