1 2 First Previous 16 Replies Latest reply on Jun 7, 2016 1:16 PM by jacoadam

    UCCX XMPP / SASLError using PLAIN: not-authorized

    nmw000007

      Hi no matter how I try to connecting to the XMPP service, I end up getting and not-authorized response,

       

      Heres my sample code (java) using the smack library :

       

              String domain = "hq-uccx.abc.inc";

              XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder()

                      .setUsernameAndPassword("Agent002@abc.inc", "ciscopsdt")

                      .setServiceName("hq-uccx.abc.inc")

                      .setHost(domain)

                      .setPort(5222)

                      .build();

       

       

              AbstractXMPPConnection connection = new XMPPTCPConnection(config);

       

       

              connection.connect();

              System.out.println("So far so good! Connected to server");

              connection.login();

       

      I am able to connect to the server but, it fails at the login line..I have tried all the different users specified in the sandbox documentation. When this works, next step for me are to get a BOSH connection where I think I can get more information out of..

        1 2 First Previous