Login alpha6 fails

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(config.build());         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.

Exception and full stack trace plz

12-05 15:13:07.779 25358-25381/com.snlp.core W/System.err﹕ org.jivesoftware.smack.sasl.SASLErrorException: SASLError using DIGEST-MD5: not-authorized

12-05 15:13:07.779 25358-25381/com.snlp.core W/System.err﹕ at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthenticati on.java:365)

12-05 15:13:07.779 25358-25381/com.snlp.core W/System.err﹕ at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPC onnection.java:1053)

12-05 15:13:07.779 25358-25381/com.snlp.core W/System.err﹕ at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$200(XMPPTCPCon nection.java:931)

12-05 15:13:07.779 25358-25381/com.snlp.core W/System.err﹕ at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnecti on.java:950)

That is the stacktrace from logcat. The same credentials worked before alpha6 by the way.

Please have a look at Re: Smack 4.1.0 alpha6 - SASLError using DIGEST-MD5: not-authorized

1 Like