Closed shahnvaibhav closed 10 years ago
to add - I was expecting this message to show up - ...INFO Hubot XMPP client online
But the above message never shows up.
Sounds like the client is not getting online then. I would check in your jabber server logs to see if there are any failed login attempts or anything like that.
thanks but there is no change in the log files on the jabber server side. Looks like connection.js from node-xmpp uses TLS by default. It seems to get stuck in the TLS handshake. Do I need to pass any TLS credentials?
here is my env
export HUBOT_XMPP_USERNAME="jabber.hubot@xxx" export HUBOT_XMPP_PASSWORD="yyyy" export HUBOT_XMPP_ROOMS="dsdev@conference.xxx" export REDISTOGO_URL=redis://... bin/hubot -a xmpp my-bot
I'm not sure, I've not used TLS based connections before, the various jabber servers I connect to don't use TLS.
xmpp adapter loads fine. this is the info message after I run hubot -a xmpp -n my-bot
INFO { username: 'jabber.hubot@xxx.net', password: 'password', host: 'jabber.xxx.net', port: '5223', rooms: [ { jid: 'dev@conference.xxx.net', password: false } ], keepaliveInterval: 30000, legacySSL: '1', preferredSaslMechanism: undefined }
and there are no messages beyond this point. I am clueless to from where should I start debugging. Please help.