How to connect punjab, openfire and candy chat

362 views
Skip to first unread message

Caroline Bogart

unread,
Dec 25, 2012, 11:35:44 PM12/25/12
to punja...@googlegroups.com
I'm a newbie so please be kind. Thank you.

I have OpenFire and Candy Chat setup on a Hostgator CentOS dedicated server. The chat works, but often kicks off users. I've read that adding punjab can resolve this issue. I installed punjab on port 5280 (OpenFire is on 7070).

How do I tell OpenFire that Punjab should take on the connection management? Where is the link between the two programs?

thank you.

Nathan Zorn

unread,
Dec 26, 2012, 8:12:54 AM12/26/12
to punja...@googlegroups.com
Candy chat is using strophejs to connect.  Strophe uses a url to  connect to the server (called a BOSH url).  According to the candy chat documentation they ask you to setup a Rewrite rule in apache. RewriteRule http-bind/ http://yourhost.com:5280/http-bind/ That is the url you want to point to punjab. The openfire url should be yourhost.com:7070/http-bind/ and punjab should be yourhost.com:5280/http-bind/ Make sure openfire isn't also listening on 5280.

Punjab will make an xmpp connection to your open fire server.

hope this helps.



--
You received this message because you are subscribed to the Google Groups "Punjab" group.
To view this discussion on the web visit https://groups.google.com/d/msg/punjab-xmpp/-/2OykVPppbfAJ.
To post to this group, send email to punja...@googlegroups.com.
To unsubscribe from this group, send email to punjab-xmpp...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/punjab-xmpp?hl=en.

Caroline Bogart

unread,
Dec 27, 2012, 3:20:49 PM12/27/12
to punja...@googlegroups.com
Thank you for that note. I believe this is what I did, however I think I did it wrong. I will inquire. Thanks for the boost.
Reply all
Reply to author
Forward
0 new messages