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

Pidgin trac at pidgin.im
Thu May 14 21:49:26 EDT 2009


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

  * status:  new => pending


Comment:

 What exactly is the issue here? The server is returning an error, is
 pidgin failing to disconnect you like you thought (or was that the
 confusion)?

 Is your issue that pidgin appears to be getting confused by the <error>
 stanza?

 pidgin is indicating that it does not know how to handle an <error> stanza
 there because that stanza is, as best as I can see, not actually valid. It
 it neither a stream nor a stanza error. It appears to want to be a stream
 error but lacks the correct namespace declarations to actually be one, and
 simultaneously it using a known stanza error type and namespace but
 without the required enclosing tag type. (See [http://xmpp.org/internet-
 drafts/draft-saintandre-rfc3920bis-08.html#streams-error Section 5.8] of
 the bis draft of RFC 3920 for stanza error formatting and usage and
 [http://xmpp.org/internet-drafts/draft-saintandre-rfc3920bis-08.html
 #stanzas-error Section 9.3] for stanza errors.)

 pidgin should likely be responding with a stream closing stanza and
 disconnecting your account. I'm pretty sure we don't send the stream
 close, are we also not disconnecting?

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


More information about the Tracker mailing list