rwbr/exmlrpc — Issue #2: Problem in tcp_serv:init when using with ejabberd
Author: crbkrishnan
Created: 2011-10-11 10:35:14+00:00
State: open

Hi

I get the following error when using exmlrpc with ejabberd.

=CRASH REPORT==== 11-Oct-2011::16:00:13 ===
crasher:
initial call: tcp_serv:init/2
pid: <0.384.0>
registered_name: []
exception error: no function clause matching
gen_tcp:mod({ip,{0,0,0,0}},undefined)
in function gen_tcp:listen/2
in call from tcp_serv:init/2
ancestors: [ejabberd_listeners,ejabberd_sup,<0.36.0>]
messages: []
links: [<0.263.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 377
stack_size: 24
reductions: 94
neighbours:

I use ejabberd2.1.6 and erlang R14B03.
ejabberd.cfg contains

{4560, ejabberd_xmlrpc, [{maxsessions, 10}, {timeout, 5000}]}

Could you please tell me if this is a known problem or if there is something wrong? TIA.

Regards
Balakrishnan.