AnsweredAssumed Answered

smack error when trying to login on server

Question asked by darryl on Jun 26, 2016
Latest reply on Jun 27, 2016 by Flow

public void login() {

 

    

  try {

   connection.login(loginUser, passwordUser);

   Log.i("LOGIN", "Yey! We're connected to the Xmpp server!");

 

  } catch (XMPPException e) {

      e.printStackTrace();

  } catch (SmackException e) {

      e.printStackTrace();

  } catch (IOException e) {

      e.printStackTrace();

  }

  catch (Exception e) {

      Log.i("login fuction","login error");

      e.printStackTrace();

  }

 

}

 

error.png

i'mgetting an error at this stage after succesful connection to the server

Outcomes