<div dir="ltr"><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">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:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">Strophe is connecting.</span></div>
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal"></div><div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">Strophe failed to connect.</span></div>
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal"></div><div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">Strophe is disconnected.</span></div>
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal"></div><div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">Strophe is connecting.</span></div>
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal"></div><div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">Strophe failed to connect.</span></div>
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal"></div><div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">Strophe is disconnected.</span></div>
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal"></div><div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">Strophe is connecting.</span></div>
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal"></div><div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">Strophe failed to connect.</span></div>
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal"></div><div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">Strophe is disconnected.</span></div>
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal"></div><div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">Strophe is connecting.</span></div>
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal"></div><div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">Strophe failed to connect.</span></div>
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal"></div><div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">Strophe is disconnected.</span></div>
<div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal"></span> </div><div><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal">So, a bunch of failed attempts. Not sure what the issue is</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 1, 2014 at 4:44 PM, Steven Lloyd Watkin <span dir="ltr"><<a href="mailto:lloyd@evilprofessor.co.uk" target="_blank">lloyd@evilprofessor.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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>
<br></div><div>Lloyd</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">_____________________________________________________<br><br>Steven Lloyd Watkin<div>Software Engineer</div><div>PHP ::: Java ::: Ruby ::: Node.js ::: XMPP<br>
<a href="mailto:lloyd@evilprofessor.co.uk" target="_blank">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>
<br><br><div class="gmail_quote"><div><div class="h5">On 1 September 2014 14:51, Hund, Johannes <span dir="ltr"><<a href="mailto:johannes.hund@siemens.com" target="_blank">johannes.hund@siemens.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div><div class="h5">
<div lang="DE" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">Hi Christopher,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">looks like a sasl Problem.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">I recently whipped something up using strophe.js and found this example quite useful:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><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><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">Worked out of the box with openfire.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">Cheers,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">Johannes<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><u></u> <u></u></span></p>
<div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(181,196,223) currentColor currentColor;padding:3pt 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b><span style="font-family:"Tahoma","sans-serif";font-size:10pt">Von:</span></b><span style="font-family:"Tahoma","sans-serif";font-size:10pt"> JDev [mailto:<a href="mailto:jdev-bounces@jabber.org" target="_blank">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="mailto:jdev@jabber.org" target="_blank">jdev@jabber.org</a><br>
<b>Betreff:</b> [jdev] Simple JavaScript XMPP client example<u></u><u></u></span></p>
</div><div><div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Hi all,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">I am running an ejabberd server for testing purposes.
<u></u><u></u></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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> <u></u><u></u></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><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">I tried connecting with jQueryXmpp in that case.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Thanks for any and all help,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Cheers,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Chris<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>
<br></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="mailto:JDev-unsubscribe@jabber.org" target="_blank">JDev-unsubscribe@jabber.org</a><br>
_______________________________________________<br>
<br></div></blockquote></div><br></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="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>
_______________________________________________<br>
<br></blockquote></div><br></div>