ejabberd 1.1.1 gentoo and s2s

Hi,

i try to install a ejabberd server on gentoo but i dont know where the problem is. i cant connect to server with starttls. then i get something like this. erlang version is: 10.2.7

=ERROR REPORT==== 2006-07-31 15:53:35 ===
** State machine <0.357.0> terminating
** Last event in was {xmlstreamelement,
                         {xmlelement,"proceed",
                                     [{"xmlns",
                                       "urn:ietf:params:xml:ns:xmpp-tls"}],
                                     []}}
** When State == wait_for_starttls_proceed
**      Data  == {state,#Port<0.460>,
                        <0.358.0>,
                        gen_tcp,
                        "162561344",
                        true,
                        true,
                        false,
                        false,
                        [{certfile,"./ssl.pem"},connect],
                        false,
                        true,
                        "antispe.org",
                        "veg.gs",
                        {[{xmlelement,"iq",
                                      [{"from",
                                        "xsteadfastx@antispe.org/Gajim"},
                                       {"to","veg.gs"},
                                       {"type","get"},
                                       {"id","293"}],
                                      [{xmlelement,
                                           "query",
                                           [{"xmlns",
                                             "http://jabber.org/protocol/disco#info"}],
                                           []}]}],
                         []},
                        "120333742",
                        false,
                        #Ref<0.0.0.4537>}
** Reason for termination =
** {badarg,[{erlang,port_control,
                    [#Port<0.462>,
                     4,
                     [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,
                      58,
                      115,
                      116,
                      114,
                      101,
                      97,
                      109,
                      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,
                      120,
                      109,
                      108,
                      110,
                      115,
                      61,
                      39,
                      106,
                      97,
                      98,
                      98,
                      101,
                      114,
                      58,
                      115,
                      101,
                      114,
                      118,
                      101,
                      114,
                      39,
                      32,
                      120,
                      109,
                      108,
                      110,
                      115,
                      58,
                      100,
                      98,
                      61,
                      39,
                      106,
                      97,
                      98,
                      98,
                      101,
                      114,
                      58,
                      115,
                      101,
                      114,
                      118,
                      101,
                      114,
                      58,
                      100,
                      105,
                      97,
                      108,
                      98,
                      97,
                      99,
                      107,
                      39,
                      32,
                      116,
                      111,
                      61,
                      39,
                      "veg.gs",
                      39,
                      " version='1.0'",
                      62]]},
            {tls,send,2},
            {ejabberd_s2s_out,wait_for_starttls_proceed,2},
            {gen_fsm,handle_msg,7},
            {proc_lib,init_p,5}]}

its started with the inetrc argument and /etc/resolv.conf. i would be so happy about every idea

Re: ejabberd 1.1.1 gentoo and s2s

Those error messages don't help me much, so I'll post all the possible problems I could think. If you find the problem, tell me.

  • Is another software using port 5222?
  • Are you able to login with starttls disabled?
  • xsteadfastx wrote:

    erlang version is: 10.2.7

    Is that Erlang/OTP R10B-10? To verify if it's that exact version do this on a shell and you should get 'Eshell V5.4.13':

    $ erl
    Erlang (BEAM) emulator version 5.4.13 [source] [threads:0] [kernel-poll]
    
    Eshell V5.4.13  (abort with ^G)
    1> q().
    ok
  • It should not have any effect, but did you try removing the command line argument about inetrc?
  • Make sure to have an OpenSSL version recent enought. I have 0.9.8a.
  • It works for me using Gajim 0.10.1, could it be a problem on your client? GAIM supports STARTTLS too.

thank you for your

thank you for your answer...i tried everything...compiled even erlang and ejabberd by myself...and then i found the problem...the gentoo ebuild creates a ssl certificate which doesnt work for s2s. dont ask me why...client tls and stuff worked..just not s2s. i created my own self signed certificate and got it working. but it took me a day to get that working ;-) thank you

Re: thank you for your

xsteadfastx wrote:

and then i found the problem...the gentoo ebuild creates a ssl certificate which doesnt work for s2s. dont ask me why...client tls and stuff worked..just not s2s.

Did you already reported this bug to the Gentoo people?

i will do that right away...

i will do that right away...

Syndicate content