Cisco Unified Presence APIs Developer Forums

« Back to Cisco AJAX XMPP Library

Bind error with Cisco Ajax XMPP library

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi,
Using XMPP library, logged to Cisco Presence server and recevied success response with bind error.  Please guide me how can I resolve the bind error.  The logs are as below:

Log 12:35:18:571  Stream opened with cisco.com <stream:features xmlns:stream="[url=http://etherx.jabber.org/streams"><mechanisms]http://etherx.jabber.org/streams"><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>CISCO-VTG-TOKEN</mechanism></mechanisms></stream:features>
Sent 12:35:18:603 
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl'
           mechanism='PLAIN'>
AGFjYmdfdWNjZQBDU1hpdG5oIQ==
</auth>
Recv 12:35:18:925 
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
Log 12:35:20:943  Stream opened with cisco.com <stream:features xmlns:stream="[url=http://etherx.jabber.org/streams"><bind]http://etherx.jabber.org/streams"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>
Sent 12:35:20:977 
<iq xmlns='jabber:client'
       id='resource-bind'
       type='set'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>
david
</resource>
</bind>
</iq>
Log 12:35:22:275  Stream closed with error: Operation failed (<stream:error xmlns:stream="[url=http://etherx.jabber.org/streams"><undefined-condition]http://etherx.jabber.org/streams"><undefined-condition xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>)
Log 12:35:22:280 closed: <stream:error xmlns:stream="[url=http://etherx.jabber.org/streams"><undefined-condition]http://etherx.jabber.org/streams"><undefined-condition xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>
Recv 12:35:29:446 
<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<bind-error/>
</failure> 

Thanks
Prakash

Hi,
 
Did you ever find a solution to this -- it seems I'm having exactly the same problem.
 
Thanks,
D.