Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Upstart script error message when booting... #363

spdaly opened this Issue · 3 comments

5 participants


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.


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'


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

@tombell tombell closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.