Component object NOT created successfully.
Following is my code :
var comp = new nodexmpp.Component({
jid : '[email protected]',
password : "password",
host : "XMPP_IP",
port : 5280,
reconnect : true
});
comp.on("error", function(e){ console.log('IN ON ERROR ::' + e ); }); comp.on("connect", function() { console.log("Inside connect............."); });
The connection never seems to be successful, and I get an log of "In OnConnect" when I communicate on Port 5280. However, when I connect on Port 80, I get the following console logs of varios events being invoked : http://screencast.com/t/j7sgfhqn
Neither of the cases, I get the ONLINE Event invoked. My question is, what might have gone wrong in this case ? Any help or pointers can be great help. Thanks 1
P.S NOTE :
- "[email protected]" has admin privilages.
- XEP - 0133 is enabled as I am usign Ejabberd (mod_adhoc, mode_announce, mod_config) are all enabled.
- I also have the "node-xmpp" module installed.
This seems to be an issue with node-xmpp itself, not with node-xmpp-serviceadmin. Did you try their examples?