node-xmpp-serviceadmin icon indicating copy to clipboard operation
node-xmpp-serviceadmin copied to clipboard

Component object NOT created successfully.

Open gauripadbidri opened this issue 10 years ago • 1 comments

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 :

  1. "[email protected]" has admin privilages.
  2. XEP - 0133 is enabled as I am usign Ejabberd (mod_adhoc, mode_announce, mod_config) are all enabled.
  3. I also have the "node-xmpp" module installed.

gauripadbidri avatar May 06 '15 14:05 gauripadbidri

This seems to be an issue with node-xmpp itself, not with node-xmpp-serviceadmin. Did you try their examples?

flosse avatar May 07 '15 16:05 flosse