02-25-2016 06:56 AM
Hi,
We have a server-server interface with Finesse.
As part of the user login process we connect to XMPP using the Java Smack library and subscribe to events for the user's "Dialogs" node
e.g.
/finesse/api/User/John.Smith/Dialogs
This has worked fine until recently.
We are now seeing some users getting error messages saying this node is not found.
I don't have the full XMPP packets for this, but the error is something like this:
XMPPError: item-not-found - cancel
Is there any reason why this node would not be found sometimes?
I can get the XMPP packets if it would help.
Thanks in advance,
Connor
02-26-2016 03:23 PM
Hi,
I haven't encountered this issue before. You said that "This has worked fine until recently." Did you upgrade the Finesse version? Or were there any significant configuration changes?
I don't see why the node would not be found only sometimes. In order to debug the issue, can you do the following:
Thanx,
Denise
02-29-2016 03:04 AM
Thanks for the response, Denise.
I will try to find out that information and get back to you.
03-22-2016 09:50 AM
Hi,
Just following up to see if this issue is still an issue or is resolved.
Thanx,
Denise
03-23-2016 07:00 AM
Thanks for following up, Denise.
I asked for the information but they have not provided it yet as they've been busy with other things.
I will chase it up and come back to you.
Regards,
Connor
04-25-2016 07:54 AM
Hi,
It has been a month since I followed up, so I am just checking in again to see if the issues still exists or if they have been resolved.
Thanx,
Denise
04-27-2016 05:53 AM
Thanks for following up again Denise!
I am still trying to get the logs produced and sent to me.
The site seems to be lacking in time and person-resource to reproduce the issue with the logging switched on.
Apparently the person who knew a lot about CTI/Finesse no longer works there.
Apologies for this, I will get back to you when (and if) they provide the information.
Regards,
Connor
05-03-2016 11:59 AM
Hi,
Since we are unsure when the logs will be provided. I will mark this discussion as "assumed answered" for now and we can revisit it when you have the right information.
Thanx,
Denise
06-07-2016 06:21 AM
Hi Connor
Do you have a sample of the smack code available? Im having a hard time getting it to work, when subscribing. I do get stanza packet, but as I understand from SMACK / xmpp the correct way are to use pubsub to subscribe to specific messages.
06-07-2016 09:13 AM
You might be better off starting a new thread.
Do you have the "pubsub" Smack classes in your classpath?
We use classes from "smack-core-4.1.1.jar" to connect to XMPP
then we user classes from "smack-extensions-4.1.1.jar" to subscribe to events
The main class for pubsub is: org.jivesoftware.smackx.pubsub.PubSubManager
06-07-2016 10:46 PM
Hi Connor,
yes everything are on classpath, when I use PubSubManager to create a new node I just get a timeout.
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