06-03-2015 06:24 AM
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.
06-03-2015 12:08 PM
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.
06-03-2015 09:46 AM
What does your BOSH url look like? Is it http or https?
06-03-2015 09:54 AM
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.
06-03-2015 12:08 PM
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.
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: