[Pidgin] #178: xmpp protocol violation

Pidgin trac at pidgin.im
Tue Apr 17 06:57:33 EDT 2007


#178: xmpp protocol violation
-------------------------+--------------------------------------------------
 Reporter:  svpcom       |       Type:  defect
   Status:  new          |   Priority:  minor 
Component:  libpurple    |    Version:  1.x   
 Keywords:  xmpp jabber  |  
-------------------------+--------------------------------------------------
 While connecting to jabberd2 using Gaim 1.5.0 (RHEL 4.4) i got following
 reply from server:
 {{{
 Tue Apr 17 01:36:38 2007 [notice] [5] packet sent before session start,
  closing stream
 }}}

 Other jabber clients (psi, tkabber) works fine with jabberd2.

 After submitting this bug to jabberd team, i got following answer:
 {{{
  This is a libgaim XMPP compliance bug.

  Please report it against Gaim.
 }}}

 After search in google i found some simular bugs:

 {{{

 The "packet sent before session start" indicates a protocol violation in
 the
 tipic client - it's not waiting for the result of the session request iq
 stanza
 before proceeding. Trillian's Jabber plugin had the same problem.

 http://www.xmpp.org/specs/rfc3921.html#session
 ---
 Upon being so informed that session establishment is required (and after
 completing resource binding), the client MUST establish a session if it
 desires
 to engage in instant messaging and presence functionality; it completes
 this
 step by sending to the server an IQ stanza of type "set" containing an
 empty
 <session/> child element qualified by the 'urn:ietf:params:xml:ns:xmpp-
 session'
 namespace:

 Step 1: Client requests session with server:

 <iq to='example.com'
      type='set'
      id='sess_1'>
    <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
 </iq>

 Step 2: Server informs client that session has been created:

 <iq from='example.com'
      type='result'
      id='sess_1'/>

 }}}

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


More information about the Tracker mailing list