Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to connect Ejabberd from Android chrome browser using Strophe.js #349

Open
BharathirajaPerumal opened this issue May 12, 2020 · 1 comment

Comments

@BharathirajaPerumal
Copy link

I am trying establish Ejabberd connection using Strophe.js from Android chrome browser. But, connection is getting disconnected. I use the following code

this.BOSH_SERVICE = 'https://192.168.1.100:5280/http-bind';

function XMPPConnectionStart() {

self.jid = "manager@localhost";

self.connection.connect(
    "user@localhost",
    "123456",
    self.events.onConnect
);

}

@BharathirajaPerumal BharathirajaPerumal changed the title Not able to connect Ejabberd from Androd ichrome browser using Strophe.js Not able to connect Ejabberd from Android chrome browser using Strophe.js May 12, 2020
@jcbrand
Copy link
Contributor

jcbrand commented Jun 15, 2020

There isn't enough information here to know what's going on. Please override the xmlinput and xmloutput methods and log those somewhere, then share the logs here.

http://strophe.im/strophejs/doc/1.3.5/files/strophe-umd-js.html#Strophe.Connection.xmlInput

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants