Upstart script error message when booting... #363

spdaly opened this Issue Oct 31, 2012 · 3 comments


None yet
5 participants

spdaly commented Oct 31, 2012

I followed the upstart script in the wiki. I changed the appropriate variables. But when I start I get the following in the log...

[Tue Oct 30 2012 21:25:45 GMT-0400 (EDT)] ERROR Campfire error: 404

/opt/hubot/src/adapters/ =;
TypeError: Cannot read property 'name' of undefined
at (/opt/hubot/src/adapters/
at IncomingMessage.CampfireStreaming.request (/opt/hubot/src/adapters/
at IncomingMessage.EventEmitter.emit (events.js:126:20)
at IncomingMessage._emitEnd (http.js:366:10)
at HTTPParser.parserOnMessageComplete as onMessageComplete
at CleartextStream.socketOnData as ondata
at CleartextStream.CryptoStream._push (tls.js:526:27)
at SecurePair.cycle (tls.js:880:20)
at EncryptedStream.CryptoStream.write (tls.js:267:13)
at Socket.ondata (stream.js:38:26)
path.exists is now called fs.exists.


technicalpickles commented Nov 6, 2012

Are you able to run using the shell adapter? That can sometimes give more useful debugging info. Actually, looks like this is specifically something in the campfire adapter, but it's still useful for a sanity check.

It looks like hubot can't find anything about himself via the Me method. Could you try adding this before that line?

inspect = require('util').inspect
console.log inspect data

Might give some insight into what's up.

I encountered the same problem...

Here's the output from adding those inspect methods:
[Fri Dec 14 2012 15:52:21 GMT-0600 (CST)] ERROR Campfire error: 400
'<html>\r\n<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>\r\n<body bgcolor="white">\r\n<center><h1>400 Bad Request</h1></center>\r\n<center>The plain HTTP request was sent to HTTPS port</center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n'

stigi commented Dec 21, 2012

@krillian: You might have mistaken the value of HUBOT_CAMPFIRE_ACCOUNT. If your campfire URL is than use acme. Hope this helps.

tombell closed this Jan 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment