[ejabberd] possible off-topic message

Jeff Denham jeff at tgmag.ca
Fri Jun 27 18:55:09 MSD 2008

I will apologize in advance for asking about this, but this could now be
an ejabber issue (of course it could also be apache, in which case this is
REALLY the wrong list! ha)

I've been attempting to install JWChat, which is an extremely simple
configuration process and I'm getting nowhere.

any client can connect via a standard jabber client (log below):

=INFO REPORT==== 2008-06-27 10:29:21 ===
I(<0.1028.0>:ejabberd_listener:112) : (#Port<0.1222>) Accepted connection
{{207,61,108,207},60071} -> {{207,61,108,221},5222}

=INFO REPORT==== 2008-06-27 10:29:22 ===
I(<0.1106.0>:ejabberd_c2s:676) :
({socket_state,gen_tcp,#Port<0.1222>,<0.1105.0>}) Accepted authentication
for jeff

=INFO REPORT==== 2008-06-27 10:29:22 ===
I(<0.1106.0>:ejabberd_c2s:787) :
({socket_state,gen_tcp,#Port<0.1222>,<0.1105.0>}) Opened session for
jeff at webmail.tgmag.ca/jBook

attempting to use jwchat fails.  I've tried a dozen troubleshooting type
things, but I'm at a loss.

ejabberd.cfg lines for http-bind and http-poll:

  {5280, ejabberd_http, [

and now on to the jwchat stuff..  in one case:

1) if I generate .htaccess files to rewrite wtih the following rule:
        RewriteRule http-bind/ http://webmail.tgmag.ca:5280/http-bind/ [P]

the request dies at apache.. but nothing useful shows up in (the highest
level) of mod_rewrites log: - - [27/Jun/2008:10:39:02 --0400]
[webmail.tgmag.ca/sid#183ad50][rid#1b33050/initial] (1) [per-dir
/pub_http/jabber/] go-ahead with proxy request
proxy:http://webmail.tgmag.ca:5280/http-bind/ [OK]

2)  the other case, with the .htaccess NOT using [P]  I see the successful
rewrite in apache's log,  and in the ejabber log I see:

=INFO REPORT==== 2008-06-27 10:49:26 ===
I(<0.1030.0>:ejabberd_listener:112) : (#Port<0.1246>) Accepted connection
{{207,61,108,207},60122} -> {{207,61,108,221},5280}

=INFO REPORT==== 2008-06-27 10:49:26 ===
I(<0.1023.0>:ejabberd_http:123) : started: {gen_tcp,#Port<0.1246>}

If anyone has any idea where I can find some better instructions, or any
tips at all, or (even better) an active mailing list for jwchat, I'd
appreciate it greatly.  If you do have a response and its not directly
related to ejabber (perhaps you've noticed something dumb I've done with
apache/jwchat) you can email me directly to save the rest of the mailing
list the pain of reading about my stupidity.

More information about the ejabberd mailing list