Session Drop - Bosh get "terminate" body

Bug #882597 reported by edhelas
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Movim
Won't Fix
High
edhelas

Bug Description

Dring a bosh session, Movim sometimes receives a bosh stanza (type terminate) this stanza is not treated. Movim then launches into an infinite loop ping (this loop is detected side browser, the browser will disconnect the user properly to avoid overloading the server).

[1:7810:0] 2011-10-27 15:57:52 - [[XMPPSend]] body
<body rid="5235" sid="3a384610f35a41b3b182a752b1cfa810ccb4a3bf" xmlns="http://jabber.org/protocol/httpbind"/>

[1:7810:0] 2011-10-27 15:57:52 - [[XMPPGet]]
<body type='terminate' xmlns='http://jabber.org/protocol/httpbind'/>

[1:7796:0] 2011-10-27 15:57:52 - [[XMPPGet]]
<body xmlns='http://jabber.org/protocol/httpbind' type='terminate' condition='item-not-found'/>

[1:7796:0] 2011-10-27 15:57:52 - [[XMPPSend]] body
<body rid="5234" sid="3a384610f35a41b3b182a752b1cfa810ccb4a3bf" xmlns="http://jabber.org/protocol/httpbind"><iq type="result" id="purpleae0922e1" <email address hidden>/Maurice" <email address hidden>/jaxl.1.1319723861"><query xmlns="http://jabber.org/protocol/disco#info" node="http://code.google.com/p/jaxl#gHGosFLOsho3lu2BzyDJ04j78wQ="><identity xml:lang="en" name="Jaxl :: Jabber XMPP Client Library" category="client" type="bot"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="jabber:x:data"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="vcard-temp"/><feature var="http://jabber.org/protocol/pubsub"/><feature var="http://jabber.org/protocol/pubsub"/><feature var="http://jabber.org/protocol/mood"/><feature var="http://jabber.org/protocol/mood+notify"/><feature var="http://jabber.org/protocol/pubsub"/><feature var="http://jabber.org/protocol/tune"/><feature var="http://jabber.org/protocol/tune+notify"/><feature var="http://jabber.org/protocol/caps"/><feature var="jabber:x:data"/><feature var="http://jabber.org/protocol/commands"/><feature var=""/><feature var="http://jabber.org/protocol/chatstates"/><feature var="jabber:iq:version"/><feature var="urn:xmpp:time"/><feature var="urn:xmpp:microblog:0"/><feature var="urn:xmpp:microblog:0+notify"/></query></iq></body>

[1:7810:0] 2011-10-27 15:57:53 - [[XMPPSend]] body
<body rid="5235" sid="3a384610f35a41b3b182a752b1cfa810ccb4a3bf" xmlns="http://jabber.org/protocol/httpbind"/>

[1:7810:0] 2011-10-27 15:57:53 - [[XMPPSend]] body
<body rid="5236" sid="3a384610f35a41b3b182a752b1cfa810ccb4a3bf" xmlns="http://jabber.org/protocol/httpbind"/>

[1:7810:0] 2011-10-27 15:57:53 - [[XMPPSend]] body
<body rid="5237" sid="3a384610f35a41b3b182a752b1cfa810ccb4a3bf" xmlns="http://jabber.org/protocol/httpbind"/>

[1:7810:0] 2011-10-27 15:57:53 - [[XMPPSend]] body
<body rid="5238" sid="3a384610f35a41b3b182a752b1cfa810ccb4a3bf" xmlns="http://jabber.org/protocol/httpbind"/>

[1:31643:0] 2011-10-27 15:57:54 - [[XMPPSend]] body
<body rid="5239" sid="3a384610f35a41b3b182a752b1cfa810ccb4a3bf" xmlns="http://jabber.org/protocol/httpbind"/>

edhelas (edhelas)
Changed in movim:
assignee: nobody → edhelas (edhelas)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
edhelas (edhelas) wrote :

Fixed with the "just in time" patch into Jaxl, see https://gitorious.org/titine/jaxl-titine/commit/ace0a0be1343ae817df87115d479eb67833ee629 for more details

Changed in movim:
status: Confirmed → Fix Committed
Etenil (etenil)
Changed in movim:
status: Fix Committed → Fix Released
milestone: none → 0.4
Revision history for this message
edhelas (edhelas) wrote :

Unfortunately the bug is still present. I reproduce it 2 times last night.

Changed in movim:
status: Fix Released → Confirmed
Revision history for this message
edhelas (edhelas) wrote :

Moxl fix this issue

Changed in movim:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.