[Pidgin] #15726: jabber_jingle_session_parse couldn't find session

Pidgin trac at pidgin.im
Sat Aug 17 11:36:22 EDT 2013


#15726: jabber_jingle_session_parse couldn't find session
--------------------------------+---------------------
 Reporter:  rom1v               |       Owner:  deryni
     Type:  defect              |      Status:  new
Milestone:                      |   Component:  XMPP
  Version:  2.10.6              |  Resolution:
 Keywords:  jingle,video,audio  |
--------------------------------+---------------------

Comment (by dustin):

 Replying to [comment:2 rom1v]:

 [did some formatting:]
 > {{{
 > (18:29:48) jabber: Sending (ssl) ([me]/laptop): <iq type='set'
 id='purple22c89471' from='[me]/laptop' to='[recipient]/~'>
 >   <jingle xmlns='urn:xmpp:jingle:1' action='session-initiate'
 initiator='[me]/laptop' responder='[recipient]/~' sid='purple22c89468'>
 >     <content creator='initiator' name='audio-session' senders='both'>
 >       <description xmlns='urn:xmpp:jingle:apps:rtp:1' media='audio'>
 [..]
 >       </description>
 >       <transport xmlns='urn:xmpp:jingle:transports:ice-udp:1'
 pwd='v+vKVzlrFgnQ2ql2CrLGUw' ufrag='1ict'>
 >         [candidates with local and public IP addresses]
 >       </transport>
 >     </content></jingle></iq>
 > (18:29:49) jabber: Recv (ssl)(288): <iq from='[recipient]/~'
 to='[me]/laptop' type='set' id='purple2a015aac'
 >    <jingle xmlns='urn:xmpp:jingle:1' action='session-terminate'
 initiator='[me]/laptop' responder='[recipient]/~' sid='purple22c89468'>
 >       <reason>
 >         <general-error/>
 >       </reason></jingle></iq>
 > (18:29:49) jabber: got Jingle package action = session-terminate
 > (18:29:49) jingle: find_by_id purple22c89468
 > (18:29:49) jingle: lookup: 0x7fe310a38a40
 > [..]
 > (18:29:49) jingle: jingle_session_finalize
 > (18:29:49) jingle-rtp: jingle_rtp_finalize
 > (18:29:49) jingle: jingle_content_finalize
 > (18:29:49) jingle: jingle_iceudp_finalize
 > (18:29:49) jingle: jingle_transport_finalize
 > [..]
 > (18:29:49) jabber: Recv (ssl)(1731): <iq from='[recipient]/~'
 to='[me]/laptop' type='set' id='purple2a015aad'>
 >  <jingle xmlns='urn:xmpp:jingle:1' action='session-accept'
 initiator='[me]/laptop' responder='[recipient]/~' sid='purple22c89468'>
 >    <content name='audio-session' senders='both' creator='initiator'>
 >      <description xmlns='urn:xmpp:jingle:apps:rtp:1' media='audio'>
 >        [..]
 >      </description>
 >      <transport xmlns='urn:xmpp:jingle:transports:ice-udp:1'/>
 >    </content></jingle></iq>
 > (18:29:49) jabber: got Jingle package action = session-accept
 > (18:29:49) jingle: find_by_id purple22c89468
 > (18:29:49) jingle: lookup: (nil)
 > (18:29:49) jingle: jabber_jingle_session_parse couldn't find session
 > }}}

 There's a '''session-terminate''' from the recipient. At this point,
 Pidgin looks up the session and deletes it.

 Sending the '''session-accept''' after that seems to be a minor flaw of
 the remote client. Still, the remote side only offers an empty
 '''transport''' entry, which probably means it couldn't find a way to
 connect to you. Maybe its ICE (NAT traversal) isn't set up properly.

 Some questions:
 - Which client does your peer use (also Pidgin?), and what version?
 - is ICE support enabled on the remote client?
 - Is it properly configured to gather its (the router's) public IP address
 (using an STUN server, UPnP enabled in router or IP address entered
 manually?)
 - What happens if the remote side starts the conference? Does the
 '''session-initiate''' contain local and public IP addresses?

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


More information about the Tracker mailing list