mod_proxy65 errors

Hi,

I've been trying to get mod_proxy65 going (http://www.ejabberd.im/mod_proxy65) with ejabberd 1.1.3, without much luck so far.

In ejabberd.cfg I have,

{7777, proxy65_listener, [{shaper, c2s_shaper}]},

{mod_proxy65, []},

I've also tried,

{mod_proxy65, [{access, all},
{streamhosts, [{"", 7777}, {"", 7777}]}]},

Then when I try to use it to transfer the file, it fails with the following error.

=SUPERVISOR REPORT==== 3-Apr-2007::08:56:54 ===
Supervisor: {local,ejabberd_listeners}
Context: child_terminated
Reason: {undef,[{proxy65_listener,become_controller,[<0.428.0>]},
{ejabberd_listener,accept,3},
{proc_lib,init_p,5}]}
Offender: [{pid,<0.419.0>},
{name,7777},
{mfa,{ejabberd_listener,
start,
[7777,proxy65_listener,[{shaper,c2s_shaper}]]}},
{restart_type,transient},
{shutdown,brutal_kill},
{child_type,worker}]

=PROGRESS REPORT==== 3-Apr-2007::08:56:54 ===
supervisor: {local,ejabberd_listeners}
started: [{pid,<0.429.0>},
{name,7777},
{mfa,{ejabberd_listener,
start,
[7777,proxy65_listener,[{shaper,c2s_shaper}]]}},
{restart_type,transient},
{shutdown,brutal_kill},
{child_type,worker}]

Can anyone explain to me what the above error means, and what I can do to fix it?

Thanks in advance.

--
SL

Probably doesn't matter

sl256 wrote:
=SUPERVISOR REPORT==== 3-Apr-2007::08:56:54 ===
     Supervisor: {local,ejabberd_listeners}
     Context:    child_terminated
     Reason:     {undef,[{proxy65_listener,become_controller,[<0.428.0>]},
                         {ejabberd_listener,accept,3},
                         {proc_lib,init_p,5}]}
     Offender:   [{pid,<0.419.0>},
                  {name,7777},
                  {mfa,{ejabberd_listener,
                           start,
                           [7777,proxy65_listener,[{shaper,c2s_shaper}]]}},
                  {restart_type,transient},
                  {shutdown,brutal_kill},
                  {child_type,worker}]

There was a change to the listener API after I wrote that module. I didn't bother to change it, since it seems to work fine anyway, and a new proxy65 is already present in ejabberd SVN.

It works!

legoscia wrote:

There was a change to the listener API after I wrote that module. I didn't bother to change it, since it seems to work fine anyway, and a new proxy65 is already present in ejabberd SVN.

Thanks for the pointer. Tried the version from SVN, and it works!

--
SL

Syndicate content