cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
304
Views
0
Helpful
1
Replies

XMPP - Node not found on agent ID

Hi,

I am trying to connect to the Notification service using a TCP connection and subscribe to the node /finesse/api/User/{id} using Smack. The connection is successful, but I can't subscribe to the node because the node is not found.

Error: Exception in thread "main" item-not-found(404) at org.jivesoftware.smackx.pubsub.packet.SyncPacketSend.getReply(SyncPacketSend.java:53) at org.jivesoftware.smackx.pubsub.packet.SyncPacketSend.getReply(SyncPacketSend.java:61) at org.jivesoftware.smackx.pubsub.PubSubManager.getNode(PubSubManager.java:163)

I am using the implementation of NotificationServiceClientSample from https://github.com/CiscoDevNet/finesse-sample-code/tree/master/NotificationServiceClientSample.

How to subscribe correctly?

Best Regards,

Anastasiia

 

 

1 Reply 1

dekwan
Cisco Employee
Cisco Employee

Hi,

A few questions:

1. Which version of Finesse are you using?

2. Have you tried using a XMPP client like adium or Pidgin to sign in to verify the system is working properly: https://developer.cisco.com/docs/finesse/#!getting-started/getting-started-with-using-the-finesse-rest-apis

3. Are you using the same user to connect to XMPP? ie. {id}

If everything above works, have you tried to restart the Finesse server? Finesse creates the XMPP nodes during start up.

Thanx,

Denise