[jdev] Server suddenly closing <stream:stream> on <presence><status/></presence>. Why?

Tomasz Sterna tomek at xiaoka.com
Sun Jan 13 15:38:50 CST 2008

On So, 2008-01-12 at 20:22 -0600, Sean Gilbertson wrote:
> So here's my current problem: When I send a <presence><status>My
> status here!</status></presence> tag to the server, it immediately
> sends me a <iq/> and then, immediately following that, a
> </stream:stream>, which closes the connection.  My input loop then
> closes, and the whole thing is kaput.

It would be good to see the actual stream dump - what did you send, and
what came in.

Something like my client dumps on debug console:

<iq to='chrome.pl' type='get' id='iq731'>
<query xmlns='http://jabber.org/protocol/disco#info'/>

<iq xmlns='jabber:client' id='iq731' from='chrome.pl'
to='smoku at chrome.pl/VAIO' type='result'>
<query xmlns='http://jabber.org/protocol/disco#info'>
<identity name='Chrome XMPP server' type='im' category='server'/>
<feature var='jabber:iq:private'/>
<feature var='presence'/>
<feature var='jabber:iq:time'/>
<feature var='urn:xmpp:ping'/>
<feature var='http://jabber.org/protocol/vacation'/>
<feature var='urn:xmpp:time'/>
<feature var='urn:xmpp:blocking'/>
<feature var='vcard-temp'/>
<feature var='jabber:iq:version'/>
<feature var='message'/>
<feature var='msgoffline'/>
<feature var='jabber:iq:privacy'/>
<feature var='http://jabber.org/protocol/amp'/>
<feature var='jabber:iq:roster'/>
<feature var='iq'/>
<feature var='jabber:iq:last'/>
<feature var='http://jabber.org/protocol/disco'/>
<x xmlns='jabber:x:data' type='result'>
<field type='hidden' var='FORM_TYPE'>
<field var='abuse-addresses'>
<value>mailto:abuse at xiaoka.com</value>
<field var='admin-addresses'>
<value>mailto:group at xiaoka.com</value>
<value>xmpp:smoku at xiaoka.com</value>
<field var='sales-addresses'>
<value>mailto:group at xiaoka.com</value>
<field var='support-addresses'>

  /\_./o__ Tomasz Sterna
 (/^/(_^^' http://www.xiaoka.com/
._.(_.)_   im:smoku at xiaoka.com

More information about the JDev mailing list