I get what you are saying. But right now I also tried <a href="http://jabber.org">jabber.org</a> id too. Still throwing the same error. any ideas on alternative to this javascript XMPP library?<br><br>
<div><span class="gmail_quote">On 7/7/08, <b class="gmail_sendername">Jonathan Dickinson</b> <<a href="mailto:jonathanD@k2.com">jonathanD@k2.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-ZA" vlink="purple" link="blue">
<div>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Maybe your client library doesn't support X-AUTH-GOOGTOKEN (a google extension to XMPP). Try another server... I am not even entirely sure if GTalk does support the actual XEP, it might be a home-grown implementation (still BOSH, but not as per the XEP).</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p><b><span lang="EN-US" style="FONT-SIZE: 10pt">From:</span></b><span lang="EN-US" style="FONT-SIZE: 10pt"> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jdev-bounces@jabber.org" target="_blank">jdev-bounces@jabber.org</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jdev-bounces@jabber.org" target="_blank">jdev-bounces@jabber.org</a>] <b>On Behalf Of </b>Rohan Shah<br>
<b>Sent:</b> 07 July 2008 01:15 PM
<div><span class="e" id="q_11afd40640c1765b_1"><br><b>To:</b> Jabber/XMPP software development list<br><b>Subject:</b> Re: [jdev] Issues in XMPP javascript libraries</span></div></span>
<p></p></p></div></div>
<div><span class="e" id="q_11afd40640c1765b_3">
<p> </p>
<div>
<p>Hi Jonathan,</p></div>
<div>
<p> </p></div>
<div>
<p>i got this msg when i tried connecting to <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://gmail.com/" target="_blank">gmail.com</a>. I believe gmail is BOSH capable server. Or is it not?</p></div>
<div>
<p> </p></div>
<div>
<p>-Rohan<br><br> </p></div>
<div>
<p><span>On 7/7/08, <b>Jonathan Dickinson</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jonathanD@k2.com" target="_blank">jonathanD@k2.com</a>> wrote:</span> </p>
<div>
<div>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Hi Rohan,</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">I don't think you will need to troubleshoot anything if you connect to a BOSH capable server. Try that first and see if you have any luck...</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p><b><span lang="EN-US" style="FONT-SIZE: 10pt">From:</span></b><span lang="EN-US" style="FONT-SIZE: 10pt"> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jdev-bounces@jabber.org" target="_blank">jdev-bounces@jabber.org</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jdev-bounces@jabber.org" target="_blank">jdev-bounces@jabber.org</a>] <b>On Behalf Of </b>Rohan Shah<br>
<b>Sent:</b> 07 July 2008 10:55 AM<br><span><b>To:</b> Jabber/XMPP software development list</span><br><b>Subject:</b> Re: [jdev] Issues in XMPP javascript libraries</span></p></div></div>
<div>
<p> </p>
<div>
<p>Hi Jonathan,</p></div>
<div>
<p> Thanks a lot for your reply. You have cleared my confusion. Coming back to my first question, can anyone who has used XMPP4JS or JSJac know how to troubleshoot the issue.</p></div>
<div>
<p> </p></div>
<div>
<p>-Rohan<br><br> </p></div>
<div>
<p>On 7/7/08, <b>Jonathan Dickinson</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jonathanD@k2.com" target="_blank">jonathanD@k2.com</a>> wrote: </p>
<div>
<div>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Hi Rohan,</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">BOSH is what Javascript libraries would use to communicate with a XMPP server (remember, Javascript cannot send raw data over the network, all comms must occur over HTTP).</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">What this means to you is that:</span></p>
<p style="TEXT-INDENT: -18pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">1. No client set up is needed. The javascript libraries (should) include everything you need. They simply use a special kind of AJAX to communicate with the server.</span></p>
<p style="TEXT-INDENT: -18pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">2. You need to find a server that supports BOSH connections. Maybe someone here is running one that does? You can try to connect to <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://jabber.org/" target="_blank">jabber.org</a> and mabber or such should also have BOSH support.</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Best of luck!</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p><b><span lang="EN-US" style="FONT-SIZE: 10pt">From:</span></b><span lang="EN-US" style="FONT-SIZE: 10pt"> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jdev-bounces@jabber.org" target="_blank">jdev-bounces@jabber.org</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jdev-bounces@jabber.org" target="_blank">jdev-bounces@jabber.org</a>] <b>On Behalf Of </b>Rohan Shah<br>
<b>Sent:</b> 07 July 2008 10:23 AM<br><b>To:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jdev@jabber.org" target="_blank">jdev@jabber.org</a><br><b>Subject:</b> [jdev] Issues in XMPP javascript libraries</span></p>
</div></div>
<div>
<p> </p>
<div>
<p>Hi All,</p></div>
<div>
<p> I am new to the XMPP world, and have just started to learn it. I want to build a small web client that connects to xmpp servers, and allows the user to chat. For this I tried using both XMPP4JS and JSJac. In the sample client provided by both of these libraries I am getting exceptions.In JSJac, am getting-</p>
</div>
<div>
<p>An error occured:<br>Code: 503<br>Type: cancel<br>Condition: service-unavailable</p></div>
<div>
<p> </p></div>
<div>
<p>And in XMPP4JS, i am getting the error-</p></div>
<div>
<p>There was an error(fatal=true): The error is not one of those defined herein; the connection manager SHOULD include application-specific information in the content of the wrapper.</p></div>
<div>
<p> </p></div>
<div>
<p>What else do I need to configure. I am running the sample client under Apache. Also what exactly is BOSH, and what needs to be setup at client side to configure BOSH</p></div></div></div></div></div>
<p style="MARGIN-BOTTOM: 12pt"><br>_______________________________________________<br>JDev mailing list<br>FAQ: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.jabber.org/discussion-lists/jdev-faq" target="_blank">http://www.jabber.org/discussion-lists/jdev-faq</a><br>
Forum: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.jabberforum.org/forumdisplay.php?f=20" target="_blank">http://www.jabberforum.org/forumdisplay.php?f=20</a><br>Info: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
Unsubscribe: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:JDev-unsubscribe@jabber.org" target="_blank">JDev-unsubscribe@jabber.org</a><br>_______________________________________________</p></div>
<p> </p></div></div></div></div>
<p style="MARGIN-BOTTOM: 12pt"><br>_______________________________________________<br>JDev mailing list<br>FAQ: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.jabber.org/discussion-lists/jdev-faq" target="_blank">http://www.jabber.org/discussion-lists/jdev-faq</a><br>
Forum: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.jabberforum.org/forumdisplay.php?f=20" target="_blank">http://www.jabberforum.org/forumdisplay.php?f=20</a><br>Info: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
Unsubscribe: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:JDev-unsubscribe@jabber.org" target="_blank">JDev-unsubscribe@jabber.org</a><br>_______________________________________________</p></div>
<p> </p></span></div></div></div></div><br>_______________________________________________<br>JDev mailing list<br>FAQ: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.jabber.org/discussion-lists/jdev-faq" target="_blank">http://www.jabber.org/discussion-lists/jdev-faq</a><br>
Forum: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.jabberforum.org/forumdisplay.php?f=20" target="_blank">http://www.jabberforum.org/forumdisplay.php?f=20</a><br>Info: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
Unsubscribe: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>_______________________________________________<br><br></blockquote></div>
<br>