AnsweredAssumed Answered

always login fail when once used wrong username  or password

Question asked by cpacm on May 24, 2015

I'm useing smack4.1.1 in android with openfire 3.9.3

When I use

connection.login()

with wrong username or password,I can't login again with correct username and password unless disconnect this connection and connect again.

 

this is the error

System.err﹕ at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1033)
System.err﹕ at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$200(XMPPTCPConnection.java:937)
System.err﹕ at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:952)

Outcomes