I created an account called deneme expect from admin. I try to connect but pidgin tells me "server closed connection".
I thought, reason may be SSL settings but not sure.
Here is my logs;
=INFO REPORT==== 2010-08-24 14:22:54 ===
I(<0.358.0>:ejabberd_listener:232) : (#Port<0.455>) Accepted connection {{192,168,0,189},46648} -> {{192,168,0,230},5222}
=INFO REPORT==== 2010-08-24 14:22:54 ===
D(<0.392.0>:ejabberd_receiver:320) : Received XML on stream = "<?xml version='1.0' ?>"
=INFO REPORT==== 2010-08-24 14:22:54 ===
D(<0.392.0>:ejabberd_receiver:320) : Received XML on stream = "<stream:stream to='labristeknoloji.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>"
=INFO REPORT==== 2010-08-24 14:22:54 ===
D(<0.393.0>:ejabberd_c2s:1456) : Send XML on stream = [60,63,120,109,108,32,
118,101,114,115,105,
111,110,61,39,49,46,48,
39,63,62,60,115,116,
114,101,97,109,58,115,
116,114,101,97,109,32,
120,109,108,110,115,61,
39,106,97,98,98,101,
114,58,99,108,105,101,
110,116,39,32,120,109,
108,110,115,58,115,116,
114,101,97,109,61,39,
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,39,32,105,100,
61,39,"116342594",39,
32,102,114,111,109,61,
39,
"labristeknoloji.com",
39,
[" version='","1.0",
"'"],
[" xml:lang='","en",
"'"],
62]
=INFO REPORT==== 2010-08-24 14:22:54 ===
D(<0.393.0>:ejabberd_c2s:1456) : Send XML on stream = <<"<stream:features><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='wwrSvLFOLzC92POh074kJuEqYxE='/><register xmlns='http://jabber.org/features/iq-register'/></stream:features>">>
=INFO REPORT==== 2010-08-24 14:22:54 ===
D(<0.392.0>:ejabberd_receiver:320) : Received XML on stream = "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"
=INFO REPORT==== 2010-08-24 14:22:54 ===
D(<0.392.0>:shaper:61) : State: {maxrate,1000,0,1282648919686928}, Size=51
M=25.5, I=5.352
=ERROR REPORT==== 2010-08-24 14:22:54 ===
** State machine <0.393.0> terminating
** Last event in was {xmlstreamelement,
{xmlelement,"starttls",
[{"xmlns","urn:ietf:params:xml:ns:xmpp-tls"}],
[]}}
** When State == wait_for_feature_request
** Data == {state,{socket_state,gen_tcp,#Port<0.455>,<0.392.0>},
ejabberd_socket,#Ref<0.0.0.9996>,false,"116342594",
{sasl_state,"jabber","labristeknoloji.com",[],
#Fun<ejabberd_c2s.1.30334249>,
#Fun<ejabberd_c2s.2.32721014>,
#Fun<ejabberd_c2s.3.7052687>,undefined,
undefined},
c2s,c2s_shaper,false,true,false,false,
[verify_none,
{certfile,"/opt/ejabberd-2.1.5/conf/server.pem"}],
false,undefined,[],"labristeknoloji.com",[],undefined,
{pres_t,0},
{pres_f,0},
{pres_a,0},
{pres_i,0},
undefined,undefined,undefined,false,
{userlist,none,[],false},
unknown,unknown,
{{192,168,0,189},46648},
[]}
** Reason for termination =
** {{case_clause,{error,{open_error,-10}}},
[{tls,tcp_to_tls,2},
{ejabberd_socket,starttls,3},
{ejabberd_c2s,wait_for_feature_request,2},
{p1_fsm,handle_msg,10},
{proc_lib,init_p,5}]}
and my configuration;
{listen,
[
{5222, ejabberd_c2s, [
{certfile, "/opt/ejabberd-2.1.5/conf/server.pem"}, starttls,
{access, c2s},
{shaper, c2s_shaper},
{max_stanza_size, 65536}
]},
%%
%% To enable the old SSL connection method in port 5223:
%%
%%{5223, ejabberd_c2s, [
%% {certfile, "/opt/ejabberd-2.1.5/conf/server.pem"}, tls,
%% {access, c2s},
%% {shaper, c2s_shaper},
%% {max_stanza_size, 65536}
%% ]},
{5269, ejabberd_s2s_in, [
{shaper, s2s_shaper},
{max_stanza_size, 131072}
]},
%%
%% ejabberd_service: Interact with external components (transports...)
%%
%%{8888, ejabberd_service, [
%% {access, all},
%% {shaper_rule, fast},
%% {ip, {127, 0, 0, 1}},
%% {hosts, ["icq.example.org", "sms.example.org"],
%% [{password, "secret"}]
%% }
%% ]},
{5280, ejabberd_http, [
%%{request_handlers, [
%% {["web"], mod_http_fileserver}
%%]},
captcha,
http_bind,
http_poll,
web_admin
]}
]}.
ejabberd finds a problem when
ejabberd finds a problem when using its SSL code.
The {open_error,10} usually appears if the ejabberd file tls_drv.so is not readable (doesn't exist, or has wrong file read permission).
You can try to reinstall ejabberd. Or maybe you installed the 32bit installer in a 64bit machine.