[Juser] Frequent timeouts with Telepathy

Pauli Virtanen pav at iki.fi
Mon Feb 22 14:41:57 CST 2010

su, 2010-02-21 kello 09:12 +0000, Kevin Smith kirjoitti:
> 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:


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

        RECV [115]:
        '<iq from='jabber.org' to='xxx at jabber.org/Telepathy.af938adaa' type='get'
        id='ping'><ping xmlns='urn:xmpp:ping'/></iq>'
        (telepathy-gabble:12775): gabble-DEBUG: connection_iq_unknown_cb: got unknown
        <iq id="ping" type="get" to="xxx at jabber.org/Telepathy.af938adaa"
        from="jabber.org"> <ping xmlns="urn:xmpp:ping"></ping>
        <iq type="error" to="jabber.org" id="ping"> <ping xmlns="urn:xmpp:ping"></ping>
         <error type="cancel" code="502"> <service-unavailable
        RECV [1]:
        ' '
        RECV [110]:
        (telepathy-gabble:12775): gabble-DEBUG: connection_stream_error_cb: got stream
        <stream:error> <connection-timeout
        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.


More information about the JUser mailing list