AnsweredAssumed Answered

login alpha6 fails

Question asked by kirk on Dec 5, 2014
Latest reply on Dec 6, 2014 by Flow

Since upgrading to the latest 4.1.0alpha6, I am unable to login with the new configurationbuilder. The method I use to connect is below

XMPPTCPConnectionConfiguration.XMPPTCPConnectionConfigurationBuilder config = XMPPTCPConnectionConfiguration.builder();

        //Set config params
        config.setHost( HOST ).setPort( PORT ).setServiceName( SERVICE );
        config.setCompressionEnabled( true );
        config.setUsernameAndPassword( nickname, password );
mConnection = new XMPPTCPConnection(;

        try {
            mConnection.login();// Log into the s
            Log.e( "CONNECTION", "CONNECTED" );
            mConnection.login();// Log into the server

mConnection.login(); fails to authenticate the user to the server.