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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peter Saint-Andre > Sent: Wednesday, July 09, 2003 3:06 PM > To: [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev -- Peter Saint-Andre Jabber Software Foundation http://www.jabber.org/people/stpeter.php _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
