hipchat/hubot-hipchat — Issue #11: Random Failure
Author: biemedia
Created: 2011-12-30 21:05:07+00:00
State: open

I can get hubot to connect to hipchat and everything works perfectly except it will randomly disconnect and return this error.

Received error from HipChat: Unknown error

/Users/admin/Desktop/hubot/node_modules/hubot-hipchat/node_modules/wobot/node_modules/node-xmpp/lib/xmpp/connection.js:274
this.socket.end();
^
TypeError: Cannot call method 'end' of undefined
at Client.onEnd (/Users/admin/Desktop/hubot/node_modules/hubot-hipchat/node_modules/wobot/node_modules/node-xmpp/lib/xmpp/connection.js:274:17)
at Socket. (/Users/admin/Desktop/hubot/node_modules/hubot-hipchat/node_modules/wobot/node_modules/node-xmpp/lib/xmpp/connection.js:56:14)
at Socket.emit (events.js:81:20)
at Socket._onReadable (net.js:656:51)
at IOWatcher.onReadable [as callback] (net.js:177:10)

I'm using
"hubot-hipchat": "1.0.1",
"hubot": "2.0.5"