<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Did you try to add a trailing slash to the BOSH URL? At least for Openfire this is mandatory, i.e.:</div>
<div>http://localhost:5280/http-bind/</div>
<div> </div>
<div>Christian</div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 02. September 2014 um 16:50 Uhr<br/>
<b>Von:</b> "Chris Fortmüller" <chritsche@gmail.com><br/>
<b>An:</b> "Jabber/XMPP software development list" <jdev@jabber.org><br/>
<b>Betreff:</b> Re: [jdev] Simple JavaScript XMPP client example</div>
<div name="quoted-content">
<div>Not sure where I can get help with this. Is this mailing list suitable for fixing my connection problems with Strophejs. Should I use <a href="JAdmin@jabber.org" target="_parent">JAdmin@jabber.org</a> instead? Not sure if its a server configuration issue or a code issue.</div>
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Sep 1, 2014 at 9:54 PM, Chris Fortmüller <span><<a href="chritsche@gmail.com" target="_parent">chritsche@gmail.com</a>></span> wrote:
<blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;">
<div>
<div>Thanks to all for your answers.</div>
<div> </div>
<div>Johannes, I have tried the echobot example, changing var BOSH_SERVICE to '<a href="http://localhost:5280/http-bind" target="_blank">http://localhost:5280/http-bind</a>', where my BOSH service is up and running.</div>
<div> </div>
<div>When I try to connect in echobot.html, I just get</div>
<div> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">Strophe is connecting.</span></div>
<div style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;white-space: normal;"> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">Strophe failed to connect.</span></div>
<div style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;white-space: normal;"> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">Strophe is disconnected.</span></div>
<div style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;white-space: normal;"> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">Strophe is connecting.</span></div>
<div style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;white-space: normal;"> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">Strophe failed to connect.</span></div>
<div style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;white-space: normal;"> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">Strophe is disconnected.</span></div>
<div style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;white-space: normal;"> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">Strophe is connecting.</span></div>
<div style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;white-space: normal;"> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">Strophe failed to connect.</span></div>
<div style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;white-space: normal;"> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">Strophe is disconnected.</span></div>
<div style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;white-space: normal;"> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">Strophe is connecting.</span></div>
<div style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;white-space: normal;"> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">Strophe failed to connect.</span></div>
<div style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;white-space: normal;"> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">Strophe is disconnected.</span></div>
<div> </div>
<div><span style="color: rgb(0,0,0);text-transform: none;text-indent: 0.0px;letter-spacing: normal;word-spacing: 0.0px;float: none;display: inline;white-space: normal;">So, a bunch of failed attempts. Not sure what the issue is</span></div>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Sep 1, 2014 at 4:44 PM, Steven Lloyd Watkin <span><<a href="lloyd@evilprofessor.co.uk" target="_parent">lloyd@evilprofessor.co.uk</a>></span> wrote:
<blockquote class="gmail_quote" style="margin: 0.0px 0.0px 0.0px 0.8ex;padding-left: 1.0ex;border-left-color: rgb(204,204,204);border-left-width: 1.0px;border-left-style: solid;">
<div>There's also an older version of node-xmpp which can be browserified and run directly in the browser. Version 1.0.0 is getting closer to release (it is available through npm) but currently browserify is broken - probably my fault.
<div> </div>
<div>Lloyd</div>
</div>
<div class="gmail_extra">
<div>
<div>_____________________________________________________<br/>
<br/>
Steven Lloyd Watkin
<div>Software Engineer</div>
<div>PHP ::: Java ::: Ruby ::: Node.js ::: XMPP<br/>
<a href="lloyd@evilprofessor.co.uk" target="_parent">lloyd@evilprofessor.co.uk</a> (email+jid) ::: <a href="http://www.evilprofessor.co.uk" target="_blank">http://www.evilprofessor.co.uk</a><br/>
Facebook / Twitter / Flickr: lloydwatkin<br/>
<br/>
Organiser of WORLD RECORD breaking charity event:
<div>Scuba Santas ::: <a href="http://www.scuba-santas.co.uk" target="_blank">http://www.scuba-santas.co.uk</a><br/>
Supporting the RNLI & DDRC - 15th December 2013 - NDAC, Chepstow</div>
</div>
</div>
</div>
<div class="gmail_quote">
<div>
<div>On 1 September 2014 14:51, Hund, Johannes <span><<a href="johannes.hund@siemens.com" target="_parent">johannes.hund@siemens.com</a>></span> wrote:</div>
</div>
<blockquote class="gmail_quote" style="margin: 0.0px 0.0px 0.0px 0.8ex;padding-left: 1.0ex;border-left-color: rgb(204,204,204);border-left-width: 1.0px;border-left-style: solid;">
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;">Hi Christopher,</span></p>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;">looks like a sasl Problem.</span></p>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;">I recently whipped something up using strophe.js and found this example quite useful:</span></p>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;"><a href="https://github.com/strophe/strophejs/blob/master/examples/echobot.js" target="_blank">https://github.com/strophe/strophejs/blob/master/examples/echobot.js</a></span></p>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;">Worked out of the box with openfire.</span></p>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;">Cheers,</span></p>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;">Johannes</span></p>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31,73,125);font-family: Calibri , sans-serif;font-size: 11.0pt;"> </span></p>
<div style="border-width: 1.0pt medium medium;border-style: solid none none;padding: 3.0pt 0.0cm 0.0cm;">
<p class="MsoNormal" style="margin-left: 35.4pt;"><b><span style="font-family: Tahoma , sans-serif;font-size: 10.0pt;">Von:</span></b><span style="font-family: Tahoma , sans-serif;font-size: 10.0pt;"> JDev [mailto:<a href="jdev-bounces@jabber.org" target="_parent">jdev-bounces@jabber.org</a>] <b>Im Auftrag von </b>Christopher Fortmüller<br/>
<b>Gesendet:</b> Montag, 1. September 2014 15:02<br/>
<b>An:</b> <a href="jdev@jabber.org" target="_parent">jdev@jabber.org</a><br/>
<b>Betreff:</b> [jdev] Simple JavaScript XMPP client example</span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;"> </p>
<div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;">Hi all,</p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;">I am running an ejabberd server for testing purposes.</p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;">I am now looking for a very basic example of a working JavaScript/html client to log in to this server.</p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;">I have tried several JavaScript libraries so far, unfortunately, to no avail. Would also appreciate input on my post on stackoverflow, if anyone has any: <a href="http://stackoverflow.com/questions/25601350/ejabberd-authentication-configuration-for-plain-or-md5-digest-for-javascript-con" target="_blank"> http://stackoverflow.com/questions/25601350/ejabberd-authentication-configuration-for-plain-or-md5-digest-for-javascript-con</a></p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;">I tried connecting with jQueryXmpp in that case.</p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;">Thanks for any and all help,</p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;">Cheers,</p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left: 35.4pt;">Chris</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>_______________________________________________<br/>
JDev mailing list<br/>
Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br/>
Unsubscribe: <a href="JDev-unsubscribe@jabber.org" target="_parent">JDev-unsubscribe@jabber.org</a><br/>
_______________________________________________<br/>
</div>
</blockquote>
</div>
</div>
<br/>
_______________________________________________<br/>
JDev mailing list<br/>
Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br/>
Unsubscribe: <a href="JDev-unsubscribe@jabber.org" target="_parent">JDev-unsubscribe@jabber.org</a><br/>
_______________________________________________<br/>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
_______________________________________________ JDev mailing list Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a> Unsubscribe: JDev-unsubscribe@jabber.org _______________________________________________</div>
</div>
</div>
</div></div></body></html>