Reconnection failed

Hi,

Can anybody please help on this.

reconnection to openfire is not happening. Smack api is able to send the auth packet to openfire but openfire may be not accepting it.

Below is the error

org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 5000ms (~5s). While waiting for successful SASL authentication

Below is the log

18:55:30.114 INFO [Smack Reconnection Manager (0)][com.test.xmpp.configuration.LoggingConnectionListener] Reconnecting in 1 seconds
Jan 09, 2018 6:55:31 PM org.igniterealtime.jbosh.BOSHClient init
INFO: Starting with 1 request processors
18:55:31.114 INFO [Smack Reconnection Manager (0)][com.test.xmpp.configuration.LoggingConnectionListener] Reconnecting in 0 seconds
18:55:31.114 INFO [Smack Reconnection Manager (0)][com.test.xmpp.configuration.LoggingConnectionListener] Reconnecting in 0 seconds
Jan 09, 2018 6:55:36 PM org.igniterealtime.jbosh.BOSHClient fireConnectionEstablished
WARNING: Unhandled Exception
java.lang.RuntimeException: org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 5000ms (~5s). While waiting for successful SASL authentication
at org.jivesoftware.smack.bosh.XMPPBOSHConnection$BOSHConnectionListener.connectionEvent(XMPPBOSHConnection.java:440)
at org.igniterealtime.jbosh.BOSHClient.fireConnectionEstablished(BOSHClient.java:1625)
at org.igniterealtime.jbosh.BOSHClient.processExchange(BOSHClient.java:1157)
at org.igniterealtime.jbosh.BOSHClient.processMessages(BOSHClient.java:990)
at org.igniterealtime.jbosh.BOSHClient.access$300(BOSHClient.java:100)
at org.igniterealtime.jbosh.BOSHClient$RequestProcessor.run(BOSHClient.java:1719)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 5000ms (~5s). While waiting for successful SASL authentication
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:93)
at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:224)
at org.jivesoftware.smack.bosh.XMPPBOSHConnection.loginInternal(XMPPBOSHConnection.java:225)
at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:493)
at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:450)
at org.jivesoftware.smack.bosh.XMPPBOSHConnection$BOSHConnectionListener.connectionEvent(XMPPBOSHConnection.java:437)
… 6 more

18:55:36.492 INFO [Smack Reconnection Manager (0)][com.test.xmpp.configuration.LoggingConnectionListener] Connection connected
18:55:41.577 INFO [Smack Reconnection Manager (0)][com.test.xmpp.configuration.LoggingConnectionListener] Reconnection failed
org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 5000ms (~5s). While waiting for successful SASL authentication
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:93) ~[smack-core-4.2.1.jar:4.2.1]
at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:224) ~[smack-core-4.2.1.jar:4.2.1]
at org.jivesoftware.smack.bosh.XMPPBOSHConnection.loginInternal(XMPPBOSHConnection.java:225) ~[smack-bosh-4.2.1.jar:4.2.1]
at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:493) ~[smack-core-4.2.1.jar:4.2.1]
at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:450) ~[smack-core-4.2.1.jar:4.2.1]
at org.jivesoftware.smack.ReconnectionManager$2.run(ReconnectionManager.java:254) [smack-core-4.2.1.jar:4.2.1]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]