[Pidgin] #9178: XMPP: Pidgin barfs on <error/>

Pidgin trac at pidgin.im
Thu May 14 21:13:48 EDT 2009


#9178: XMPP: Pidgin barfs on <error/>
-----------------------------------------+----------------------------------
 Reporter:  harik                        |     Owner:  deryni
     Type:  defect                       |    Status:  new   
Component:  XMPP                         |   Version:  2.5.5 
 Keywords:  jabber unknown packet error  |  
-----------------------------------------+----------------------------------
 Two bugs in the attached log.

 First, due to a server side database load I'm getting the occasional 404
 when attempting to connect.  Pidgin throws an XML error on the following
 stanza:
 {{{
 (20:43:18) jabber: Recv (ssl)(101): <error code="404" type="cancel"><item-
 not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error>
 (20:43:18) jabber: Unknown packet: error
 }}}

 Second:
 {{{
 (20:43:23) jabber: Sending (ssl): <iq type='get' id='purplefc5dc560'><ping
 xmlns='urn:xmpp:ping'/></iq>
 (20:43:23) jabber: Recv (ssl)(68): <iq type="result" id="purplefc5dc560"
 to="harik at dan.internal/test"/>
 (20:43:42) account: Connecting to account harik_attar at j----/----
 (20:43:53) jabber: Sending (ssl): <iq type='get' id='purplefc5dc561'><ping
 xmlns='urn:xmpp:ping'/></iq>
 (20:43:53) jabber: Recv (ssl)(68): <iq type="result" id="purplefc5dc561"
 to="harik at dan.internal/test"/>
 }}}

 Pidgin doesn't close the socket after the error, it so it never
 reconnects.  I've been watching it send iq...ping in the debug log for the
 last 30 minutes.

 This is 2.5.5 with the recommended patches from #8830 (libxml2 and pidgin
 patched)

-- 
Ticket URL: <http://developer.pidgin.im/ticket/9178>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list