My client uses strophe library to connect with Openfire using BOSH. The client retries the request if server response is not received within a specified time duration which is wait time + 6 secs(to account for network delay). But the server sometimes closes the session when it receives a request with same request id. In the server logs, we see :
Deliverable unavailabe for 7325364675326
and sends an error to client with type=‘terminate’ condition=‘item-not-found’
This behavior is making our client very unstable. I believe openfire should be able to handle duplicate packets properly.
So is it something my client doing wrong or is it expected behavior?