Skip to content
This repository was archived by the owner on Sep 23, 2020. It is now read-only.
This repository was archived by the owner on Sep 23, 2020. It is now read-only.

Component object NOT created successfully. #6

@gauripadbidri

Description

@gauripadbidri

Following is my code :

var comp = new nodexmpp.Component({
jid : 'admin@vhost.com',
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. "admin@vhost.com" 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions