cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4424
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..

1 Accepted Solution

Accepted Solutions

We use Smack in our code and it works.

Things to try:

- ensure security mode is "ifpossible"

- ensure only bare user id is specified e.g. agent002

- ensure you lower case the user name

This works for us with UCCX

I have not tried BOSH, I just use a standard connection

View solution in original post

16 Replies 16

nmw000007
Level 1
Level 1

Now with the non working BOSH variant

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

      

      

      

        BOSHConfiguration conf = BOSHConfiguration.builder()

  .setFile("/http-bind/").setHost("hq-uccx.abc.inc").setPort(7071).setServiceName("hq-uccx.abc.inc")

  .build();

  XMPPBOSHConnection connection = new XMPPBOSHConnection(conf);

        connection.connect();

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

        connection.login("Agent002", "ciscopsdt");

We use Smack in our code and it works.

Things to try:

- ensure security mode is "ifpossible"

- ensure only bare user id is specified e.g. agent002

- ensure you lower case the user name

This works for us with UCCX

I have not tried BOSH, I just use a standard connection

Thanks for answering.. I cannot login via the finesse desktop either on the sandbox, so there might be a problem there..

Btw the idea for us are to make a companion desktop application that manages client side integrations...

Happy to try to help!

For the Finesse login, do you get something like this:

The device associated with that extension or dial number is invalid.

If so, you need to login to a Jabber client first

This is a relatively new requirement for the UCCX sandbox, you didn't have to do this with the old UCCE sandbox.

It actually says the user or id are invalid.. Now to the next issue, where do I get the jabber client from (I had the idea that there would be an windows desktop with all this stuff preinstalled on or that It could be downloaded from cucm )

The cisco guys sent jabber to me, they should be able to help you out

What userid/password/extension are you using to login to Finesse?

I use:

Agent001

ciscopsdt

6001

Don't put any suffix after the Agent001 part

thats exactly what I do.. All our internal Cisco resources are currently unavailable.. SO i'll try the official ones instead.

Hello Connor,

Thanks for helping out on this thread! That is great!!

I can provide you an install for jabber, would you prefer jabber for windows or mac?

We do need to find a way to make software available to partners in the lab. I think we'd prefer to offer it directly from DevNet. I will look into doing this to make things a bit smoother!

Thanks!

Jacob

DevNet Sandbox 

Hi Jacob

I'd prefer windows version.. Thanks

Nino

Hi Nino,

Excellent! You should be able to download the software from this link. https://cisco.box.com/s/wbehohfkhk04m5hwcct74wevnwsywbrj

Try this out and let us know if you're still having issues logging into finesse!

Thanks!
Jacob

I get this (when my account are logged in):

Forbidden File or Application

The file or application you are trying to access may require additional entitlement or you are trying to access a file with an invalid name. Additional entitlement levels are granted per-application basis.

If you feel you have reached this page in error, please try one of the following methods to locate your document:

   -    If you are manually entering the URL into your browser location bar, be sure to include the file name of the page you are trying to access (file names typically end in .htm, .html or .shtml).
   -    Use the Search feature located in the upper right section of this page.
   -    Return to the wwwin.cisco.com Home or select a primary site area from the top navigation bar.
   -    Consult with your Manager or Application team to confirm you have the appropriate entitlement to access this page.

If the issue persists then go through OAM FAQs

HI Nino,

Do you see this error when logging into Jabber or Finesse?

Thanks!
Jacob

Jabber works just fine, Finesse fails with wrong credentials even though they are the same jabber accepted

aha! Finesse only fails in chrome, internet explorer seems to be working.