hipchat/hubot-hipchat — Issue #18: Documentation omits requirement of redistogo
Author: jspiewak
Created: 2012-03-09 18:13:07+00:00
State: open

From https://github.com/github/hubot/wiki/Deploying-Hubot-onto-Heroku :

If you want to use the redis-brain.coffee you will need to add the Redis to Go addon (this requires a verified account).

% heroku addons:add redistogo:nano

Without redistogo, hubot crashes:

2012-03-09T17:54:24+00:00 app[app.1]: node.js:134
2012-03-09T17:54:24+00:00 app[app.1]: throw e; // process.nextTick error, or 'error' event on first tick
2012-03-09T17:54:24+00:00 app[app.1]: ^
2012-03-09T17:54:24+00:00 app[app.1]: TypeError: Object Error: Redis connection to localhost:6379 failed - ECONNREFUSED, Connection refused has no method 'replace'
2012-03-09T17:54:24+00:00 app[app.1]: at EventEmitter.log (/app/node_modules/hubot/node_modules/log/lib/log.js:149:25)
2012-03-09T17:54:24+00:00 app[app.1]: at EventEmitter.error (/app/node_modules/hubot/node_modules/log/lib/log.js:202:10)
2012-03-09T17:54:24+00:00 app[app.1]: at RedisClient. (/app/node_modules/hubot-scripts/src/scripts/redis-brain.coffee:14:27)
2012-03-09T17:54:24+00:00 app[app.1]: at RedisClient.emit (events.js:64:17)
2012-03-09T17:54:24+00:00 app[app.1]: at Socket. (/app/node_modules/hubot-scripts/node_modules/redis/index.js:123:14)
2012-03-09T17:54:24+00:00 app[app.1]: at Socket.emit (events.js:64:17)
2012-03-09T17:54:24+00:00 app[app.1]: at Array. (net.js:828:27)
2012-03-09T17:54:24+00:00 app[app.1]: at EventEmitter._tickCallback (node.js:126:26)
2012-03-09T17:54:25+00:00 heroku[app.1]: Process exited with status 1
2012-03-09T17:54:25+00:00 heroku[app.1]: State changed from up to crashed