cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4454
Views
0
Helpful
16
Replies

UCCX XMPP / SASLError using PLAIN: not-authorized

nmw000007
Level 1
Level 1

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..

16 Replies 16

WOW, I had to lowercase the userid. THEN it worked.. NOT cool.

That is quite strange! I will need to test this out and ensure that this is working and documented as expected. Thanks for bringing this to our attention!