[JDEV] Stream Error => Disconnect
Peter Saint-Andre
stpeter at jabber.org
Wed Jul 9 03:33:56 CDT 2003
A few questions:
1. Does the server support registration?
2. It's best to do an IQ get regarding registration before doing an IQ
set.
3. What version of the server are you running?
4. Can you try it with a FQDN, not an IP address?
I agree that a "disconnected" error is not very helpful....
Peter
On Wed, Jul 09, 2003 at 04:15:46PM +0800, Ru-Shan Cheng wrote:
>
> hi peter,
>
> Those XML is part of what I send.
> The following is what I sent and receive:
>
> 1. Client send :
> <stream:stream to='10.1.4.200' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
> recv :
> <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' id='3EBF06F2'
> xmlns='jabber:client' from='10.1.4.200'>
> 2. Client send :
> <iq type='set'><query xmlns='jabber:iq:register'><username>blah</username><password>blah</password></query></iq>
> recv :
> <stream:error>Disconnected</stream:error></stream:stream>
>
>
> The jabber:iq:auth "get" is the same case with aboved.
> Should I provide the jabber server debug information?
>
> Ru-Shan Cheng
>
> -----Original Message-----
> From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of Peter Saint-Andre
> Sent: Wednesday, July 09, 2003 3:06 PM
> To: jdev at jabber.org
> Subject: Re: [JDEV] Stream Error => Disconnect
>
>
> On Wed, Jul 09, 2003 at 01:52:53PM +0800, Ru-Shan Cheng wrote:
>
> > The error situations I had met are following:
> > 1. <iq type="get"><query xmlns="jabber:iq:auth">
> > 2. <iq type="set"><query xmlns="jabber:iq:register">
>
> Well, those are not well-formed XML. Is that the complete XML you sent?
>
> Peter
>
> --
> Peter Saint-Andre
> Jabber Software Foundation
> http://www.jabber.org/people/stpeter.php
>
> HR??????????????????_???????m?????f?????Z???r?????'$??i???r?^?<(h????o????????o???????????m?????h?????\?????&???
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
--
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.php
More information about the JDev
mailing list