[jdev] Simple JavaScript XMPP client example

Steven Lloyd Watkin lloyd at evilprofessor.co.uk
Tue Sep 2 14:56:00 UTC 2014


I'd imagine the best place for raising strophe issues would be against
their github repo?

https://github.com/strophe/strophejs

_____________________________________________________

Steven Lloyd Watkin
Software Engineer
PHP ::: Java ::: Ruby ::: Node.js ::: XMPP
lloyd at evilprofessor.co.uk (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 2 September 2014 15:50, Chris Fortmüller <chritsche at gmail.com> wrote:

> Not sure where I can get help with this. Is this mailing list suitable for
> fixing my connection problems with Strophejs. Should I use
> JAdmin at jabber.org 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 <chritsche at gmail.com>
> 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 <
>> lloyd at evilprofessor.co.uk> 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
>>> lloyd at evilprofessor.co.uk (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 <johannes.hund at siemens.com>
>>> 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:jdev-bounces at jabber.org] *Im Auftrag von *Christopher
>>>> Fortmüller
>>>> *Gesendet:* Montag, 1. September 2014 15:02
>>>> *An:* jdev at jabber.org
>>>> *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: JDev-unsubscribe at jabber.org
>>>> _______________________________________________
>>>>
>>>>
>>>
>>> _______________________________________________
>>> JDev mailing list
>>> Info: http://mail.jabber.org/mailman/listinfo/jdev
>>> Unsubscribe: JDev-unsubscribe at jabber.org
>>> _______________________________________________
>>>
>>>
>>
>
> _______________________________________________
> JDev mailing list
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20140902/06517992/attachment-0001.html>


More information about the JDev mailing list