[jdev] Empty <stream:features/>
rob at cataclysm.cx
Mon Feb 16 16:59:29 CST 2004
On Mon, Feb 16, 2004 at 04:42:36PM -0500, Bob Phan wrote:
> Okay, a little progress update on the component library for perl for
> jabber2. It can now successfully authenticate using SASL and such.
> I re-initiate the stream and the server returns this:
> <stream:features xmlns:stream='http://etherx.jabber.org/streams'/>
> Which most likely explains why when I try to bind to a domain,
> the server debug output shows this:
> ROUT: sx (io.c:189) decoded read data (33 bytes): <bind
> ROUT: sx (io.c:65) completed nad: <bind name='logger'><log/></bind>
> ROUT: sx (chain.c:119) calling nad read chain
> ROUT: sx (io.c:108) tag 12 event 6 data 0x80c1600
> ROUT: Mon Feb 16 16:22:39 2004 router.c:736 invalid packet namespace,
> ROUT: Mon Feb 16 16:22:42 2004 router.c:831 read action on fd 12
> Since binding doesn't show up as a feature and all...
Component binding doesn't show up as a feature because it predates
stream features. Your problem stems from the (as the error messages say)
your packets being in the wrong namespace.
Either declare the component namespace on the stream header:
Or on the packets themselves:
Take a look at the component protocol docs for more info. It may also
help to run a j2 component (the resolver is nice and simple) in debug
mode and watch the traffic that is passed back and forth.
Robert Norris GPG: 1024D/FC18E6C2
Email+Jabber: rob at cataclysm.cx Web: http://cataclysm.cx/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the JDev