Closed michelepapale1996 closed 4 years ago
Hi, I'm not unable to connecting to openfire server using this lib. I use the following code:
const { client, xml } = require("@xmpp/client"); const debug = require("@xmpp/debug"); let xmpp = client({ service: "ws://192.168.0.16:5222/xmpp-websocket", domain: "192.168.0.16", username: "****", password: "****", }); debug(xmpp, true);
In console:
What is the problem?
NB: I can correctly connect using Spark to the Openfire server.
https://stackoverflow.com/questions/34769824/what-does-this-error-mean-hpe-invalid-constant ?
Seems unrelated to xmpp.js, search the Web for HPE_INVALID_CONSTANT
HPE_INVALID_CONSTANT
Yes, you were right, it is not related to xmpp.js. My problems were:
Hi, I'm not unable to connecting to openfire server using this lib. I use the following code:
In console:
What is the problem?
NB: I can correctly connect using Spark to the Openfire server.