[ejabberd] A couple ejabberd questions.

Adam Thorsen adam.thorsen at gmail.com
Thu Nov 11 00:08:41 MSK 2004


I am running ejabberd-0.7.5 on an OpenBSD 3.5 System.

When I attempt to connect to ejabberd using TLS (from Gaim), Ejabberd
crashes.  Any suggestions?

I get this output from ejabberd after the crash:

=INFO REPORT==== 10-Nov-2004::17:13:26 ===
I(<0.223.0>:ejabberd_listener:89): (#Port<0.289>) Accepted connection
{{42,53,67,1},41790} -> {{128,123,221,32},5222}

=ERROR REPORT==== 10-Nov-2004::17:13:26 ===
** State machine <0.284.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,#Port<0.289>,
                        <0.285.0>,
                        gen_tcp,
                        "3130375749",
                        {sasl_state,"jabber",
                                    "localhost",
                                    [],
                                    undefined,
                                    undefined},
                        c2s,
                        c2s_shaper,
                        true,
                        false,
                        [{certfile,"./ssl.pem"}],
                        false,
                        undefined,
                        [],
                        "localhost",
                        [],
                        {0,nil},
                        {0,nil},
                        {0,nil},
                        {0,nil},
                        undefined,
                        undefined,
                        undefined,
                        false,
                        none,
                        []}
** Reason for termination =
** {{badmatch,{error,"SSL_CTX_use_certificate_file failed"}},
    [{ejabberd_c2s,wait_for_feature_request,2},
     {gen_fsm,handle_msg,7},
     {proc_lib,init_p,5}]}

=CRASH REPORT==== 10-Nov-2004::17:13:26 ===
  crasher:
    pid: <0.284.0>
    registered_name: []
    error_info: {{badmatch,{error,"SSL_CTX_use_certificate_file failed"}},
                  [{ejabberd_c2s,wait_for_feature_request,2},
                   {gen_fsm,handle_msg,7},
                   {proc_lib,init_p,5}]}
    initial_call: {gen,init_it,
                      [gen_fsm,
                       <0.213.0>,
                       <0.213.0>,
                       ejabberd_c2s,
                       [{gen_tcp,#Port<0.289>},
                        [{access,c2s},
                         {shaper,c2s_shaper},
                         starttls,
                         {certfile,"./ssl.pem"}]],
                       []]}
    ancestors: [ejabberd_c2s_sup,ejabberd_sup,<0.38.0>]
    messages: []
    links: [<0.177.0>,<0.213.0>,#Port<0.332>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 1597
    stack_size: 21
    reductions: 1169
  neighbours:

=SUPERVISOR REPORT==== 10-Nov-2004::17:13:26 ===
     Supervisor: {local,ejabberd_c2s_sup}
     Context:    child_terminated
     Reason:     {{badmatch,{error,"SSL_CTX_use_certificate_file failed"}},
                  [{ejabberd_c2s,wait_for_feature_request,2},
                   {gen_fsm,handle_msg,7},
                   {proc_lib,init_p,5}]}
     Offender:   [{pid,<0.284.0>},
                  {name,undefined},
                  {mfa,{ejabberd_c2s,start_link,
                                     [{gen_tcp,#Port<0.289>},
                                      [{access,c2s},
                                       {shaper,c2s_shaper},
                                       starttls,
                                       {certfile,"./ssl.pem"}]]}},
                  {restart_type,temporary},
                  {shutdown,brutal_kill},
                  {child_type,worker}]





Thanks.


More information about the ejabberd mailing list