06-03-2014 12:05 AM
Below is the code for JabberAPI.
var demoConfig = {
domain: "domainId", //the domain specified for your CUP server
httpBindingURL: "url", //the BOSH url for your server
unsecureAllowed: false //unsecureAllowed should be true if plaintext authentication is allowed over unencrypted or unsecured HTTP channels
};
When I am trying to login with correct credentials I am getting an error
"Could not connect: <stream:error xmlns:stream="http://etherx.jabber.org/streams"><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams" /></stream:error>Could not connect: <stream:error xmlns:stream="http://etherx.jabber.org/streams"><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams" /></stream:error>"
Please help me how can I resolve this issue.
06-03-2014 09:33 AM
Hi Sunil,
Which environment are you referring to? Are you using the devNet shared sandbox? Or your own CUP server?
Typically, the domain would be the domain that your CUP server is on, the BOSH url is http://<CUP_Server>:7335/httpbinding"
Regards,
Howard
06-03-2014 10:15 PM
Thanks Ting,
Our jabber is Cloud based deployed. I am using CUP server.
Now I am using BOSH url : https://im4.ciscowebex.com/http-bind
Domain : "abc.com"
Now I am not getting the <stream:error xmlns:stream="http://etherx.jabber.org/streams"><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams" ></xml></stream:error><stream:error xmlns:stream="http://etherx.jabber.org/streams"><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams" ></xml></stream:error>
But I am getting below error :
Could not connect: <error><not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-sasl" /></error>Could not connect: <error><not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-sasl" /></error>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide