[jdev] Problems with group chat app

mat henshall mat at squareconnect.com
Mon Mar 24 23:00:46 UTC 2014


Michael,

I would suggest joining the prosody mailing list:
http://prosody.im/discuss#mailing_lists

You can get an almost instant response on their chat forums too...

( And to get better logging, you need to modify the prosody configuration
file to add debugging output - it is documented in the online manual on how
to do this, if I remember correctly).

Mat



On Mon, Mar 24, 2014 at 11:28 PM, Cabus, Michael <CabusM at philau.edu> wrote:

> Hi
>   Thanks for the response.
>
> How would I get the protocol transcript?  I have prosody setup, which I
> was hoping would help me get better error logs.
>
> Thanks again for your help,
>
> Michael
> ________________________________________
> From: JDev [jdev-bounces at jabber.org] on behalf of jdev-request at jabber.org[
> jdev-request at jabber.org]
> Sent: Monday, March 24, 2014 8:00 AM
> To: jdev at jabber.org
> Subject: JDev Digest, Vol 122, Issue 11
>
> Send JDev mailing list submissions to
>         jdev at jabber.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mail.jabber.org/mailman/listinfo/jdev
> or, via email, send a message with subject or body 'help' to
>         jdev-request at jabber.org
>
> You can reach the person managing the list at
>         jdev-owner at jabber.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of JDev digest..."
>
>
> Today's Topics:
>
>    1. Re: JDev Digest, Vol 122, Issue 10 (Cabus, Michael)
>    2. Problem with group chat app (Cabus, Michael)
>    3. Re: Problem with group chat app (Dave Cridland)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 23 Mar 2014 13:44:01 +0000
> From: "Cabus, Michael" <CabusM at philau.edu>
> To: "jdev at jabber.org" <jdev at jabber.org>
> Subject: Re: [jdev] JDev Digest, Vol 122, Issue 10
> Message-ID:
>         <
> E1056A27F8FB3C4488A810D4D308C3906E196CB4 at EXCH2010.facstaff.philau.edu>
>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi
>   Thanks for the response.
>
> Prosody looks good.
>
> Can you clarify what it means to create accounts?
>
> https://prosody.im/doc/creating_accounts
>
> Is this how user accounts are created?
>
> I was envisioning a database backend that would allow account creation.
>
> Thanks so much for your help
>
> Michael Cabus
> Student, Interactive Design and Media
> Philadelphia University
>
> ________________________________________
> From: JDev [jdev-bounces at jabber.org] on behalf of jdev-request at jabber.org[
> jdev-request at jabber.org]
> Sent: Sunday, March 23, 2014 8:00 AM
> To: jdev at jabber.org
> Subject: JDev Digest, Vol 122, Issue 10
>
> Send JDev mailing list submissions to
>         jdev at jabber.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mail.jabber.org/mailman/listinfo/jdev
> or, via email, send a message with subject or body 'help' to
>         jdev-request at jabber.org
>
> You can reach the person managing the list at
>         jdev-owner at jabber.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of JDev digest..."
>
>
> Today's Topics:
>
>    1. XMPP server (Cabus, Michael)
>    2. Re: XMPP server (mat henshall)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 23 Mar 2014 00:44:59 +0000
> From: "Cabus, Michael" <CabusM at philau.edu>
> To: "jdev at jabber.org" <jdev at jabber.org>
> Subject: [jdev] XMPP server
> Message-ID:
>         <
> E1056A27F8FB3C4488A810D4D308C3906E196BD5 at EXCH2010.facstaff.philau.edu>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello all,
>   I am setting up chat as part of my thesis project for interactive design
> and media.
>
> I am using a book on XMPP to setup a framework:
>
> http://arialboundaries.com/groupchat/
>
> I notice it is not, however, that stable...would setting up my own XMPP
> server help make it more stable...with this framework, I sign on, and the
> connection is not so persistent...
>
> Any help/direction would be appreciated...
>
> Thanks so much
>
> Michael Cabus
> Student, Interactive Design and Media
> Philadelphia University
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 23 Mar 2014 13:13:01 +1100
> From: mat henshall <mat at squareconnect.com>
> To: "Jabber/XMPP software development list" <jdev at jabber.org>
> Subject: Re: [jdev] XMPP server
> Message-ID:
>         <
> CABt5oAvcAOWfmhYid1ecX2OaT9sQv8cnnyKQTTQ-xzhLM5ohKA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Michael,
>
> When developing a chat client, it is very useful to have your own server to
> test against.... If there are any errors in what you send the server will
> terminate the connection with little or no indication of what is wrong.
> Having your own server allows you to see the server logs and messages and
> find out what the issues is.
>
> We have tried many of the open source XMPP servers and I think the one I
> would recommend to develop agains is prosody. (www.prosody.im) Very very
> easy to set up, they have an active developer and user forum and can be
> simply installed on windows, mac or linux.
>
> For a web based client, I would suggest looking at http://strophe.im/. I
> use the 'C' library rather than the Javascript, however, I am told the
> strophe.js is really very good.
>
> Hope this helps
>
> Good luck with your thesis
>
> Mat
>
>
> On Sun, Mar 23, 2014 at 11:44 AM, Cabus, Michael <CabusM at philau.edu>
> wrote:
>
> > Hello all,
> >   I am setting up chat as part of my thesis project for interactive
> design
> > and media.
> >
> > I am using a book on XMPP to setup a framework:
> >
> > http://arialboundaries.com/groupchat/
> >
> > I notice it is not, however, that stable...would setting up my own XMPP
> > server help make it more stable...with this framework, I sign on, and the
> > connection is not so persistent...
> >
> > Any help/direction would be appreciated...
> >
> > Thanks so much
> >
> > Michael Cabus
> > Student, Interactive Design and Media
> > Philadelphia University
> > _______________________________________________
> > 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/20140323/426da4f7/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> JDev mailing list
> JDev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev
>
>
> ------------------------------
>
> End of JDev Digest, Vol 122, Issue 10
> *************************************
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 24 Mar 2014 00:41:48 +0000
> From: "Cabus, Michael" <CabusM at philau.edu>
> To: "jdev at jabber.org" <jdev at jabber.org>
> Subject: [jdev] Problem with group chat app
> Message-ID:
>         <
> E1056A27F8FB3C4488A810D4D308C3906E196EF9 at EXCH2010.facstaff.philau.edu>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi
>   I have the framework for a group chat app:
>
> http://arialboundaries.com/groupchat/
>
> It seems to work, essentially; but, I do not think it is properly logging
> on...it quickly forces a user to sign back on after signing off.
>
> Any ideas why this would happen, or how I could debug?
>
> I have this setup locally, too, using Prosody...
>
> Thanks so much,
>
> Michael Cabus
> Student, Interactive Design and Media
> Philadelphia University
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 24 Mar 2014 07:11:39 +0000
> From: Dave Cridland <dave at cridland.net>
> To: "Jabber/XMPP software development list" <jdev at jabber.org>
> Subject: Re: [jdev] Problem with group chat app
> Message-ID:
>         <CAKHUCzyNCRzJ9CUOSJa-j=
> 7+E5d3PSVwGpfqnB8NsrKq7bgXjQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 24 Mar 2014 00:45, "Cabus, Michael" <CabusM at philau.edu> wrote:
> >
> > Hi
> >   I have the framework for a group chat app:
> >
> > http://arialboundaries.com/groupchat/
> >
> > It seems to work, essentially; but, I do not think it is properly logging
> on...it quickly forces a user to sign back on after signing off.
> >
>
> Now, I assumed you meant authenticate by logging on. But then you use
> signing in.
>
> Assuming you meant authenticate both cases, my guess is the resource
> conflict resolution - you're connecting multiple sessions with same
> resource name, so the server trying figure out what you meant.
>
> > Any ideas why this would happen, or how I could debug?
> >
>
> With these things, you really want the protocol transcript so you see what
> gets sent when.
>
> > I have this setup locally, too, using Prosody...
> >
> > Thanks so much,
> >
> > Michael Cabus
> > Student, Interactive Design and Media
> > Philadelphia University
> > _______________________________________________
> > 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/20140324/2b39f1ed/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> JDev mailing list
> JDev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev
>
>
> ------------------------------
>
> End of JDev Digest, Vol 122, Issue 11
> *************************************
> _______________________________________________
> 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/20140325/fa96bedc/attachment-0001.html>


More information about the JDev mailing list