@Christian: yes, I tried this, no change. @Stefan: I am just opening the local html file in chrome, i.e.file:///C:/Users/B/Desktop/strophejs-master/strophejs-master/examples/echobot.html.
Your saying I need to access it somehow like http://localhost:5280/myfile.html? On Tue, Sep 2, 2014 at 5:24 PM, Stefan Strigler <[email protected]> wrote: > Where are you loading your html file from? This needs to be served from > the same host and port than your service (i.e. localhost:5280). > Alternatively you'd need to supply a crossdomain.xml that allows your > html/javascript to connect to any host/port. > > .Stefan > > > 2014-09-01 21:54 GMT+02:00 Chris Fortmüller <[email protected]>: > > 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] > _______________________________________________ > >
_______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
