Several times I saw that two clients gets 404 from the server. Client 1 is sending a message to client 2 . Client 2 receives the message but client 1 gets 404 responce from openfire.
I think this is server issue and not client because when I`m ignoring the 404 and sending the next message with rid = rid + 1 I get another 404 and the logs says:
16:31:27 Request 3226983099 > 3226983098, ending session.
16:32:30 Packets could not be found for session 898264dd cannot be delivered to client
I want to emphasize again that client 2 got the message.
A minute later client 2 suffer from the same event (sometimes only one of them get disconnected):
16:32:30 Request 6459344085 > 6459344083, ending session.
Is this a bug in openfire or maybe only BOSH in openfire?
What should a client do when he gets 404 from openfire? Send the same message again with the same rid? Send the next message with rid+1 as I`m doing?