crashes with Component::External

oliver oli oliver.oli at gmail.com
Mon Oct 23 19:33:20 UTC 2006


oliver oli wrote:
> Martin Atkins wrote:
> 
>> Of the top of my head I'd guess that the plugin is delivering to 
>> itself infinitely, perhaps because you've attached it to the same 
>> server as your clients are attached to. The usual way to set up a 
>> component is as a subdomain, like this:
>>
>>     <Subdomain thingy>
>>         <Plugin DJabberd::Component::External>
>>             ....
>>         </Plugin>
>>     </Subdomain>
>>
>> The <Subdomain> directive creates a second domain whose name is (in 
>> this case) thingy.yourdomain.com, and configures local delivery 
>> between the two.
>>
>> The Component::External plugin should definitely act better in this 
>> case, though; thanks for the report!
> 
> <Subdomain/> solved the problem. I'm still not able to connect a xmpp4r 
> component to djabberd. Maybe I have bugs in my Ruby code (never used 
> Ruby before) or xmpp4r have issues with djabberd.
> 
> Use of uninitialized value in concatenation (.) or string at 
> lib/DJabberd/Connection.pm line 131.
> 2109 WARN  DJabberd.Component.External.Connection   Component sent 
> {urn:ietf:params:xml:ns:xmpp-tls}starttls stanza before handshake. 
> Discarding.
> 
> How stable is the Component::External Plugin in djabberd? Anyone using 
> it in production environment?

from xmpp4r:

20:43:16 Debugging mode enabled.
20:43:16 CONNECTING:
     127.0.0.1:5290
20:43:16 SENDING:
     <stream:stream xmlns:stream='http://etherx.jabber.org/streams' 
xmlns='jabber:component:accept' to='component.localhost' xml:lang='en' 
version='1.0' >
20:43:16 RECEIVED:
     <stream:stream from='component.localhost' 
xmlns:stream='http://etherx.jabber.org/streams' 
id='da178ec373139fd9e1af408191acedd9f650303c' version='1.0' 
xmlns='jabber:component:accept'/>
20:43:16 RECEIVED:
     <stream:features><starttls 
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/></stream:features>
20:43:16 FEATURES: received
20:43:16 PROCESSING:
     <stream:features><starttls 
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/></stream:features>
20:43:16 FEATURES: waiting...
20:43:16 FEATURES: waiting finished
20:43:16 SENDING:
     <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>



More information about the Djabberd mailing list