[ejabberd] using external components with ejabberdp

Marshall Rose mrose+internet.jabber.ejabberd at dbc.mtview.ca.us
Tue Mar 2 07:22:31 MSK 2004

i'm writing an external component to work with ejabberd.
i have the usual stuff in the config file:
          {8888, ejabberd_service, [{hosts,
				     [{password, "secret"}]}]}

here's what my client-side log shows when i connect and try to authenticate:
    (jlib::connect) Socket:'sock4' Server:'jabber.dbc.mtview.ca.us' 
    (jlib::outmsg) (1) '<stream:stream
        xmlns='jabber:component:accept' xml:lang='en'
    Waiting for stream
    (jlib::inmsg) (1) '<?xml version='1.0'?><stream:stream
        xmlns='jabber:component:accept' id='887731267'
    (jlib::got_stream) Session ID = 887731267, Use SASL = 0
    Got stream
    (jlib::send_auth) username:'staging' password:'testing' resource:''
    (jlib::outmsg) (1) 'handshake {} {}
        2b837d65d8c133ec580f6100f905861aaf5004a6 {} {}'

at this point, nothing else happens. according to netstat, neither
ejabberd nor my client have any octets in the Recv-Q.
the only logging that occurs on the ejabberd-side is this:

    =INFO REPORT==== 2004-03-01 20:11:37 ===
    I(<0.225.0>:ejabberd_listener:64): (#Port<0.591>)
        Accepted connection {{209,75,253,190},64429} -> {{64,168,10,251},8888}

so, how do i go about debugging this?


More information about the ejabberd mailing list