Problem with login after disconnect

Hey,

I don’t know if this is bug, or it needs to be handled in different way, but I have problem like this:

  1. open tab with application and connect to jabber…

  2. open new tab and connecto to jabber with same user. User in first tab is disconnected from Jabber

  3. now I want to log in back in 1st tab. Expected scenario: user in first tab is logged in and (same) user in 2nd tab is disconnect

problem is that user in 1st tab succesfully connect to jabber socket, but there is no handling of so no LoginEvent is dispatched. Also user in 2nd tab is not disconnected (maybe because of missing LoginEvent in 1st tab).

Really don’t know if this is expected or there is bug or I need to do something more I’m not aware of…


This is XML handling when user connects in 1st tab for the first time

XMPP connection send XML: <?xml version="1.0" encoding="UTF-8"?><stream:stream xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” to=“imtest.iblsoft.com” xml:lang=“en” version=“1.0”>

XMPP connection send XML: Zmtvcm1hbmFrQGltdGVzdC5pYmxzb2Z0LmNvbU BpbXRlc3QuaWJsc29mdC5jb20AZmtvcm1hbmFrQGltdGVzdC5pYmxzb2Z0LmNvbQBma29ybWFuYWs=</ auth>

XMPP connection send XML: <?xml version="1.0" encoding="UTF-8"?><stream:stream xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” to=“imtest.iblsoft.com” xml:lang=“en” version=“1.0”>

XMPPConnection handleIQ: fkormanak@imtest.iblsoft.com/xiff

XMPP connection send XML:

XMPPConnection handleIQ:

XMPPConnection handleIQ:

XMPP connection send XML: <?xml version="1.0" encoding="UTF-8"?><stream:stream xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” to=“imtest.iblsoft.com” xml:lang=“en” version=“1.0”>

XMPP connection send XML: Zmtvcm1hbmFrQGltdGVzdC5pYmxzb2Z0LmNxvf fdgrjtkrtykuaWJsc29mdC5jb20AZmtvcm1hbmFrQGltdGVzdC5pYmxzb2Z0LmNvbQBma29ybWFuYWs=

XMPP connection send XML: <?xml version="1.0" encoding="UTF-8"?><stream:stream xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” to=“imtest.iblsoft.com” xml:lang=“en” version=“1.0”>

XMPPConnection handleIQ: xxxx@imtest.iblsoft.com/xiff

XMPP connection send XML:

XMPPConnection handleIQ:

XMPPConnection handleIQ:


This is XML handling when user connects in 1st tab second time (after same user was connected in 2nd tab)

XMPP connection send XML: <?xml version="1.0" encoding="UTF-8"?><stream:stream xmlns=“jabber:client”

xmlns:stream=“http://etherx.jabber.org/streams” to=“imtest.iblsoft.com” xml:lang=“en” version=“1.0”>
Jabber Manager: JabberManager onConnectSuccess

Does anyone have clue what is wrong?

Thank you

Without looking at your code, I’m not exactly sure what the problem is, but I do the same thing with my company’s site and it works like a charm:

  1. log in first browser/tab

  2. log in second browser/tab

  3. first browser/tab logs out

  4. log in first browser/tab

  5. second browser/tab logs out

etc