03-28-2016 05:56 AM
UCCE 10.5.2; Finesse 11.0
I am just getting started with Finesse and gadgets. I was able to do the rudimentary Poster and Pidgin items described in the Finesse Developer Guide (all IPs pointing to Finesse pub). When I tried to find a way to "logout" of Pidgin, nothing obvious presented itself, so I performed an "unsubscribe" for the finesse and presencelistener "buddies". And with that, I am no longer able to login using the agent account to the finesse pub server using the browser client. The aberrant behavior now : the browser seems to timeout on the pub, then successfully login to the sub - this is consistent. All other agent accounts are fine, and login via browser to the pub.
All the following have failed to rectify:
- deleting/recreating the agent account in UCCE
- restarting Finesse pub
Would appreciate and help or guidance in getting the account restored.
Thanks
Solved! Go to Solution.
03-30-2016 02:25 PM
Hello Denise -
So I ended up opening a TAC case and the engineer did a fantastic job getting the resolution steps (lab simulated/BU engagement).
Ends up, like you reference, that I have to subscribe to these services (TAC said never unsubscribe from 'finesse' and 'presencelistener'). The finesse developer's guide mentions that you must unsubscribe from explicit subscriptions; guess I need to learn difference between explicit and implicit. Anyway ...
Solution
=========================
Using pidgin, use the broken agent XMPP account to subscribe to these 2 services ('services' use here may be incorrect).
1. Add 'finesse' buddy
- use pidgin 'add buddy' and enter following fields
- select already defined broken agent account (<agent id>@<finesse pub ip>/<resource> (XMPP))
- for buddy name, enter 'finesse@<finesse pub ip>')
- hit 'add' button and let that update
2. Add 'presencelistener' buddy
- repeat step 1 for buddy 'presencelistener@<finesse pub ip>'
3. Disable Account
- go 'offline' with agent account
- disable agent account (<agent id>@<finesse pub ip>/<resource> (XMPP))
Once these steps were completed, I was able to log right in.
Thank you for much for your help.
03-28-2016 10:43 AM
Hi,
Can you restart the finesse pub and then collect the webservices logs. I would like to look at the logs during startup to see what is going on. Then attach the logs here. If possible, if you can capture the logs from the browser where you saw it timing out on the pub, that would be great.
Thanx,
Denise
03-29-2016 09:35 AM
Hello Denise -
I obtained the webservices log but there is so much sensitive data in there. I spent several hours attempting to redact info but still too much. There are quite a few items in there that do not look good - then again you never know with all the noise.
Is there something specific I could try and get out of webservices boot up log?
I will start looking at agent log.
Apologies.
Andy
03-29-2016 09:48 AM
Hi,
I understand. Let me take a look at my logs to find specific messages for you to look at and I will get back to you.
Thanx,
Denise
03-29-2016 11:44 AM
Hi,
Make sure the finesse user is connected. I'm assuming so because you said the other agents are working fine:
0000000007: 192.168.1.25: Feb 08 2016 20:14:28.756 -0800: %CCBU_pool-1-thread-9-Infrastructure-4-6-XMPP_USER_CONNECTED: %[XMPP_USER_JID=finesse@finesse25.autobot.cvp/web_framework][connection_status=A new connection has been made.][xmpp_host=localhost][xmpp_port=5222]: The XMPP user is connected and authenticated with the XMPP server
Make sure that the user is able to subscribe to its own node (on the pub)
0000000335: 192.168.1.25: Feb 08 2016 20:14:32.074 -0800: %CCBU_pool-9-thread-3-6-NODE_ID_EXISTS: %[NodeId=/finesse/api/User/1002577]: Successfully found node with given Id
0000000336: 192.168.1.25: Feb 08 2016 20:14:32.079 -0800: %CCBU_pool-9-thread-3-6-SUBSCRIBE_REQUEST_SUCCESS: %[NodeId=/finesse/api/User/1002577][user_id=1002577@finesse25.autobot.cvp]: Sucessfully subscribed to a node on the XMPP server
Also, you said you restarted the Finesse pub. Did you restart the whole box or just the Tomcat service?
In the same way you unsubscribed from these users, is there a way to subscribe back?
If you use pidgin and REST APIs, does that agent get publishes for the agent state events?
Thanx,
Denise
03-30-2016 02:25 PM
Hello Denise -
So I ended up opening a TAC case and the engineer did a fantastic job getting the resolution steps (lab simulated/BU engagement).
Ends up, like you reference, that I have to subscribe to these services (TAC said never unsubscribe from 'finesse' and 'presencelistener'). The finesse developer's guide mentions that you must unsubscribe from explicit subscriptions; guess I need to learn difference between explicit and implicit. Anyway ...
Solution
=========================
Using pidgin, use the broken agent XMPP account to subscribe to these 2 services ('services' use here may be incorrect).
1. Add 'finesse' buddy
- use pidgin 'add buddy' and enter following fields
- select already defined broken agent account (<agent id>@<finesse pub ip>/<resource> (XMPP))
- for buddy name, enter 'finesse@<finesse pub ip>')
- hit 'add' button and let that update
2. Add 'presencelistener' buddy
- repeat step 1 for buddy 'presencelistener@<finesse pub ip>'
3. Disable Account
- go 'offline' with agent account
- disable agent account (<agent id>@<finesse pub ip>/<resource> (XMPP))
Once these steps were completed, I was able to log right in.
Thank you for much for your help.
03-30-2016 03:24 PM
Hi,
Good to hear that your issue has been resolved and thank you for posting the solution so that it can be referenced in the future if others run into the same problem.
Thanx,
Denise
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