Hello
I am trying to run basic chat demo example. I have successfully ran this demo in Firefox, but when i run the same example in Chrome or Internet Explorer, i get following error:
Could not connect:
<stream:error xmlns:stream="http://etherx.jabber.org/streams">
<service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-streams"/>
</stream:error>
kindly guide if this is an issue with the browser specific configuration as it is working in firefox perfectly.
Regards
Solved! Go to Solution.
Chrome doesn't handle certificates like Firefox does. Try using Chrome to navigate to that URL (https://192.168.2.190:7335/httpbinding) directly and tell it to go to the "untrusted" site. This tells Chrome to accept the certificate (temporarily - only for this Chrome session). You should see a message about how this is a BOSH URL, if you get there successfully.
Then try the chat demo again, and it should work.
What does your BOSH url look like? Is it http or https?
Thank you Nicholas.
My BOSH url is:
https://192.168.2.190:7335/httpbinding
and this is working perfectly fine with firefox, but not with chrome/IE.
Chrome doesn't handle certificates like Firefox does. Try using Chrome to navigate to that URL (https://192.168.2.190:7335/httpbinding) directly and tell it to go to the "untrusted" site. This tells Chrome to accept the certificate (temporarily - only for this Chrome session). You should see a message about how this is a BOSH URL, if you get there successfully.
Then try the chat demo again, and it should work.