component::external configuration?
Edward Rudd
erudd at netfor.com
Mon May 14 21:23:56 UTC 2007
I am trying to use the DJabberd::Component::External to have
mu-conference (0.6.0 w/ JCR 0.2.4) connect into DJabberd.
I have tried all sorts of ways of configuring djabberd to get this
working but it never seems to work correctly.
Here is the current setup.
<VHost muc.mydomain>
<Plugin DJabberd::Component::External>
ListenAddr 127.0.0.1:5290
Secret Conferencing
</Plugin>
</VHost>
and I have muc configured to connect to 5290 using the same secret.
I run djabberd, then I run mu-conference and djabberd has this in the log
INFO DJabberd.VHost Adding plugin:
DJabberd::Component::External=HASH(0x20b6130)
DEBUG DJabberd.Component Component
DJabberd::Component::External=HASH(0x20b6130) will serve domain
muc.mydomain
INFO DJabberd.Component.External Started listener for
component muc.mydomain on TCP socket <127.0.0.1:5290>
after mu-conference starts up
DEBUG DJabberd.Component.External Accepting connection from
component muc.mydomain
DEBUG DJabberd.Connection.ComponentIn Making a
DJabberd::Connection::ComponentIn for fd 13
INFO DJabberd.Component.External Shutting down listener
for component muc.mydomain
Wireshark shows that MU-conference sends
<?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams'
xmlns='jabber:component:accept' to='muc.mydomain' from='muc.mydomain'>
And nothing comes back from djabberd.
When I try to have a client join a chat I get no traffic between
djabberd and mu-conference and I get this in the djabberd log
DEBUG DJabberd.Delivery.S2S s2s delivery attempt for
test at muc.mydomain/erudd
DEBUG DJabberd.Queue Queuing stanza
(DJabberd::Presence=ARRAY(0x22d5310)) for
DEBUG DJabberd.Queue .. starting to connect to
DEBUG DJabberd.Queue.ServerOut Starting connection to
domain 'muc.mydomain'
DEBUG DJabberd.DNS pkt =
Net::DNS::Packet=HASH(0x14ad860)
DEBUG DJabberd.DNS sock =
IO::Socket::INET=GLOB(0x22ca6d0)
DEBUG DJabberd.Queue .. pushing queue item.
DEBUG DJabberd.DNS DNS socket
IO::Socket::INET=GLOB(0x22ca6d0) became readable for 'srv'
DEBUG DJabberd.DNS DNS socket
IO::Socket::INET=GLOB(0x22ca6d0) for 'srv' found stuff, now doing
hostname lookup
on urkle.mydomain
DEBUG DJabberd.DNS DNS socket
IO::Socket::INET=GLOB(0x158aa80) became readable for 'a'
DEBUG DJabberd.Queue.ServerOut Resolver callback for
'muc.mydomain': [DJabberd::IPEndPoint=HASH(0x158ac40)]
DEBUG DJabberd.Queue Starting connection
DEBUG DJabberd.Connection.ServerOut New connection '2' from
192.168.0.73
DEBUG DJabberd.Connection.ServerOut Connecting to
'192.168.0.73' for 'muc.mydomain'
DEBUG DJabberd.Queue Set connection for queue
to 'muc.mydomain' to connection '2'
DEBUG DJabberd.Connection.ServerIn New connection '3' from
192.168.0.73
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erudd.vcf
Type: text/x-vcard
Size: 275 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/djabberd/attachments/20070514/e99a89e6/erudd.vcf
More information about the Djabberd
mailing list