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

Pidgin trac at pidgin.im
Thu May 14 21:23:54 EDT 2009


#9178: XMPP: Pidgin barfs on <error/>
-----------------------------------------+----------------------------------
 Reporter:  harik                        |        Owner:  deryni
     Type:  defect                       |       Status:  new   
Milestone:                               |    Component:  XMPP  
  Version:  2.5.5                        |   Resolution:        
 Keywords:  jabber unknown packet error  |  
-----------------------------------------+----------------------------------
Description changed by harik:

Old description:

> 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)

New description:

 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
 }}}

 The server appears to be using [http://xmpp.org/extensions/xep-0086.html
 xep-0086], which is deprecated but shouldn't cause us to error out.

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

 (Modified to retract the second half of the bug report - I had conflated
 two XMPP streams.)

--

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


More information about the Tracker mailing list