06-19-2019 11:56 AM - edited 06-21-2019 09:30 AM
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!
06-25-2019 09:02 AM
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.
06-27-2019 01:17 PM - edited 06-27-2019 01:18 PM
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.
Is there anything else that can cause this error?
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: