Re: Frequent timeouts with Telepathy

Pauli Virtanen <[email protected]>
Newsgroups gmane.network.jabber.user
Message-ID <1266871316.5645.26.camel@idol>
su, 2010-02-21 kello 09:12 +0000, Kevin Smith kirjoitti:
[clip]
> It looks from that like no stanzas have been sent over the stream for
> ten minutes, so the server's sent a ping to check that the client is
> still there. The client then seems to ignore the ping stanza, so the
> server believes the connection has failed, and closes it.
> 
> If this is true, Telepathy needs a patch - replying to all iq stanzas
> (even unknown ones like ping for Telepathy) is a requirement of XMPP.

The bug report is here:

	http://bugs.freedesktop.org/show_bug.cgi?id=26667

>From Telepathy-gabble's logs, I see this exchange:

        ************************************************
        RECV [115]:
        -----------------------------------
        '<iq from='jabber.org' to='[email protected]/Telepathy.af938adaa' type='get'
        id='ping'><ping xmlns='urn:xmpp:ping'/></iq>'
        -----------------------------------
        (telepathy-gabble:12775): gabble-DEBUG: connection_iq_unknown_cb: got unknown
        iq:
        <iq id="ping" type="get" to="[email protected]/Telepathy.af938adaa"
        from="jabber.org"> <ping xmlns="urn:xmpp:ping"></ping>
        </iq>
        
        
        SEND:
        -----------------------------------
        <iq type="error" to="jabber.org" id="ping"> <ping xmlns="urn:xmpp:ping"></ping>
         <error type="cancel" code="502"> <service-unavailable
        xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></service-unavailable>
        </error>
        </iq>
        
        -----------------------------------
        
        RECV [1]:
        -----------------------------------
        ' '
        -----------------------------------
        
        RECV [110]:
        -----------------------------------
        '<stream:error><connection-timeout
        xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream>'
        -----------------------------------
        (telepathy-gabble:12775): gabble-DEBUG: connection_stream_error_cb: got stream
        error:
        <stream:error> <connection-timeout
        xmlns="urn:ietf:params:xml:ns:xmpp-streams"></connection-timeout>
        </stream:error>
        
        Freeing up IOChannel and file descriptor
        (telepathy-gabble:12775): gabble-DEBUG: connection_disconnected_cb: called with
        reason 3
        ************************************************

So it does seem to me that Telepathy replies to the <iq>. (I also see
the corresponding traffic by snooping the network, so the message also
goes out.) No idea if the reply is correct, though.

Cheers,
Pauli



_______________________________________________
This is JUser -- a mailing list for end users
of Jabber clients.

Don't like email? Try the forum:
http://www.jabberforum.org/forumdisplay.php?f=21

To unsubscribe, send email to
[email protected]
or go to the following web
page, scroll all the way down,
and type in your email address:

http://mail.jabber.org/mailman/listinfo/juser
_______________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.