Re: Simple JavaScript XMPP client example
"Christian Schudt" <[email protected]>
| Newsgroups | gmane.network.jabber.devel |
|---|---|
| Message-ID | <trinity-6370c1e9-e952-45d2-905a-87b8805e9211-1409671052346@3capp-gmx-bs22> |
Did you try to add a trailing slash to the BOSH URL? At least for Openfire this is mandatory, i.e.: http://localhost:5280/http-bind/ Christian Gesendet: Dienstag, 02. September 2014 um 16:50 Uhr Von: "Chris Fortmüller" <[email protected]> An: "Jabber/XMPP software development list" <[email protected]> Betreff: Re: [jdev] Simple JavaScript XMPP client example Not sure where I can get help with this. Is this mailing list suitable for fixing my connection problems with Strophejs. Should I use [email protected] instead? Not sure if its a server configuration issue or a code issue. On Mon, Sep 1, 2014 at 9:54 PM, Chris Fortmüller < [email protected] > wrote: Thanks to all for your answers. Johannes, I have tried the echobot example, changing var BOSH_SERVICE to ' http://localhost:5280/http-bind ', where my BOSH service is up and running. When I try to connect in echobot.html, I just get Strophe is connecting. Strophe failed to connect. Strophe is disconnected. Strophe is connecting. Strophe failed to connect. Strophe is disconnected. Strophe is connecting. Strophe failed to connect. Strophe is disconnected. Strophe is connecting. Strophe failed to connect. Strophe is disconnected. So, a bunch of failed attempts. Not sure what the issue is On Mon, Sep 1, 2014 at 4:44 PM, Steven Lloyd Watkin < [email protected] > wrote: 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. Lloyd _____________________________________________________ Steven Lloyd Watkin Software Engineer PHP ::: Java ::: Ruby ::: Node.js ::: XMPP [email protected] (email+jid) ::: http://www.evilprofessor.co.uk Facebook / Twitter / Flickr: lloydwatkin Organiser of WORLD RECORD breaking charity event: Scuba Santas ::: http://www.scuba-santas.co.uk Supporting the RNLI & DDRC - 15th December 2013 - NDAC, Chepstow On 1 September 2014 14:51, Hund, Johannes < [email protected] > wrote: Hi Christopher, looks like a sasl Problem. I recently whipped something up using strophe.js and found this example quite useful: https://github.com/strophe/strophejs/blob/master/examples/echobot.js Worked out of the box with openfire. Cheers, Johannes Von: JDev [mailto: [email protected] ] Im Auftrag von Christopher Fortmüller Gesendet: Montag, 1. September 2014 15:02 An: [email protected] Betreff: [jdev] Simple JavaScript XMPP client example Hi all, I am running an ejabberd server for testing purposes. I am now looking for a very basic example of a working JavaScript/html client to log in to this server. 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: http://stackoverflow.com/questions/25601350/ejabberd-authentication-configuration-for-plain-or-md5-digest-for-javascript-con I tried connecting with jQueryXmpp in that case. Thanks for any and all help, Cheers, Chris _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________ _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________ _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________ _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________