I am trying to use the library by creating a component.
I downloaded the sample file, but it gives me this error:
status connecting xmpp://dev.xxxx.com:5275
status connect
status opening
status open
StreamError: conflict
at Function.fromElement (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/@xmpp/error/index.js:29:19)
at Component._onStreamError (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/@xmpp/connection/index.js:117:31)
at Component._onElement (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/@xmpp/connection/index.js:102:12)
at Parser.emit (events.js:315:20)
at Parser.onEndElement (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/@xmpp/xml/lib/Parser.js:52:12)
at SaxLtx.emit (events.js:315:20)
at SaxLtx._handleTagOpening (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/ltx/lib/parsers/ltx.js:40:12)
at SaxLtx.write (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/ltx/lib/parsers/ltx.js:159:18)
at Parser.write (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/@xmpp/xml/lib/Parser.js:71:17)
at Component._onData (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/@xmpp/connection/index.js:50:17) {
condition: 'conflict',
text: '',
application: undefined,
element: Element {
name: 'stream:error',
parent: Element {
name: 'stream:stream',
parent: null,
children: [],
attrs: [Object]
},
children: [ [Element] ],
attrs: { 'xmlns:stream': 'http://etherx.jabber.org/streams' }
}
}
IN
I am trying to use the library by creating a component. I downloaded the sample file, but it gives me this error:
status connecting xmpp://dev.xxxx.com:5275 status connect status opening status open
StreamError: conflict
at Function.fromElement (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/@xmpp/error/index.js:29:19)
at Component._onStreamError (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/@xmpp/connection/index.js:117:31)
at Component._onElement (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/@xmpp/connection/index.js:102:12)
at Parser.emit (events.js:315:20)
at Parser.onEndElement (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/@xmpp/xml/lib/Parser.js:52:12)
at SaxLtx.emit (events.js:315:20)
at SaxLtx._handleTagOpening (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/ltx/lib/parsers/ltx.js:40:12)
at SaxLtx.write (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/ltx/lib/parsers/ltx.js:159:18)
at Parser.write (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/@xmpp/xml/lib/Parser.js:71:17)
at Component._onData (/Users/Pippo/Documents/Sviluppo/testvari/componet/node_modules/@xmpp/connection/index.js:50:17) {
condition: 'conflict',
text: '',
application: undefined,
element: Element {
name: 'stream:error',
parent: Element {
name: 'stream:stream',
parent: null,
children: [],
attrs: [Object]
},
children: [ [Element] ],
attrs: { 'xmlns:stream': 'http://etherx.jabber.org/streams' }
}
}
IN