I’m using Jabberwerx with Openfire and what I’m finding is that occassionally I run into situations where OF attempts to publish to a BOSH session very soon after the BOSH session is established but fails with the following error:
Unable to route packet. No session is available so store offline
I traced the OpenFire code a bit and found that in RoutingTableImpl.getRoutes(), an established session would not have a packet routed to it if the presence is not available.
Does anyone know if this is something specific to the way Openfire chose to implement this or do other XMPP servers behave similarly? I looked through XEP-0206: XMPP Over BOSH but I couldn’t find this behavior described in the initiation sequence, which leads me to believe that OpenFire may be doing something extra for some purpose.