Все вроде верно, но при попытке подключиться сразу же disconnect.. (RHEL4, ejabberd 1.1.2)
Что можно покрутить?
В логах вот что:
=INFO REPORT==== 2007-03-02 09:31:42 ===
I(<0.230.0>:ejabberd_listener:90): (#Port<0.454>) Accepted connection {{192,168,1,183},4165} -> {{192,168,1,166},5222}
=ERROR REPORT==== 2007-03-02 09:31:42 ===
** Generic server <0.766.0> terminating
** Last message in was {tcp,#Port<0.454>,
<<60,63,120,109,108,32,118,101,114,115,105,111,110,61,34,49,46,48,34,63,62,10,60,115,116,114,101,97,109,58,115,116,114,101,97,109,32,120,109,108,110,115,58,115,116,114,101,97,109,61,34,104,116,116,112,58,47,47,101,116,104,101,114,120,46,106,97,98,98,101,114,46,111,114,103,47,115,116,114,101,97,109,115,34,32,120,109,108,110,115,61,34,106,97,98,98,101,114,58,99,108,105,101,110,116,34,32,116,111,61,34,115,119,105,102,116,46,103,101,111,115,101,105,115,34,32,62,10>>}
** When Server state == {state,#Port<0.454>,
gen_tcp,
none,
<0.765.0>,
65536,
{xml_stream_state,
<0.765.0>,
#Port<0.455>,
[],
0,
65536},
infinity}
** Reason for termination ==
** {badarg,[{erlang,port_control,
[#Port<0.455>,
0,
<<60,63,120,109,108,32,118,101,114,115,105,111,110,61,34,49,46,48,34,63,62,10,60,115,116,114,101,97,109,58,115,116,114,101,97,109,32,120,109,108,110,115,58,115,116,114,101,97,109,61,34,104,116,116,112,58,47,47,101,116,104,101,114,120,46,106,97,98,98,101,114,46,111,114,103,47,115,116,114,101,97,109,115,34,32,120,109,108,110,115,61,34,106,97,98,98,101,114,58,99,108,105,101,110,116,34,32,116,111,61,34,115,119,105,102,116,46,103,101,111,115,101,105,115,34,32,62,10>>]},
{xml_stream,parse,2},
{ejabberd_receiver,process_data,2},
{ejabberd_receiver,handle_info,2},
{gen_server,handle_msg,6},
{proc_lib,init_p,5}]}