cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1004
Views
0
Helpful
2
Replies

Jabber from XMPP client Login issues

imprash
Level 1
Level 1

Hi,

I'm trying to access Jabber in my windows web application (just IM and presence). I used the Basic Jabber Chat Demo (CAXL) provided by Cisco. I get the following error.

<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
 
<not-authorized/>
</failure>
</stream:stream>
SASL failure from server: {urn:ietf:params:xml:ns:xmpp-sasl}not-authorized
jabberwerx.js:860 Exception during connection: <error><not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/></error>

 I'm pretty sure that the credentials I entered are correct. The httpbinding url and the domain were also correct. I tested using sandbox and the chat demo worked. But whenever I use third party XMPP clients like Gajim, Mozilla Thunderbird or javascript web libraries on my server I get the not-authorized error. Could you please let me know what causes this error.

Thanks!

2 Replies 2

npetrele
Cisco Employee
Cisco Employee

This is almost always a certificate problem.  Here's an easy way to find out.  Navigate your browser directly to the BOSH URL.  If you have to create a certificate exception, then that was your problem.  Once you create the exception, your CAXL application should log in fine until you restart the browser.  The best way to make the fix permanent is to add the certificate to the browser's certificate storage.  How you do this varies from browser to browser.  Firefox makes it the easiest, since you can make the exception permanent the first time you encounter the problem.

 

 

Thank you for the response.

Unfortunately, I don't think certificate is the reason for the error. When I go to the BOSH URL, I get the below screen.

BOSH.PNG

Is there anything else that can cause this error?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: