05-31-2016
12:17 AM
- last edited on
06-04-2019
09:48 AM
by
Paul Zimmerman
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..
Solved! Go to Solution.
05-31-2016 05:32 AM
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
05-31-2016 02:49 AM
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");
05-31-2016 05:32 AM
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
05-31-2016 05:35 AM
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...
05-31-2016 05:40 AM
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.
05-31-2016 05:45 AM
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 )
05-31-2016 05:54 AM
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
05-31-2016 05:56 AM
thats exactly what I do.. All our internal Cisco resources are currently unavailable.. SO i'll try the official ones instead.
05-31-2016 06:08 AM
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
05-31-2016 06:28 AM
Hi Jacob
I'd prefer windows version.. Thanks
Nino
05-31-2016 06:31 AM
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
05-31-2016 11:01 PM
I get this (when my account are logged in):
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
06-03-2016 06:46 AM
HI Nino,
Do you see this error when logging into Jabber or Finesse?
Thanks!
Jacob
06-07-2016 01:53 AM
Jabber works just fine, Finesse fails with wrong credentials even though they are the same jabber accepted
06-07-2016 01:58 AM
aha! Finesse only fails in chrome, internet explorer seems to be working.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide