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

Jabber from XMPP client Login issues

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!

Everyone's tags (3)
2 REPLIES 2
Highlighted
Cisco Employee

Re: Jabber from XMPP client Login issues

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.

 

 

Beginner

Re: Jabber from XMPP client Login issues

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?

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards