Authentication is taking too much time

Hello all, it is taking long time nearly about 15 seconds and more while logging to Openfire server from android app, using smack v 4.4.6. Can anyone guide me how to reduce the time during authentication process? Also, I found that during login smack library is requesting server to send entity caps and only after it is sent by the server it is triggering “authenticated” callback of connection listener.

Are you sure that it is authentication (SASL) that is taking a long time, or is it more generically the initial bootstrapping of a connection (which typically involves various steps, including authentication, roster retrieval, etc).

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.