When making various requests at the BOSH endpoint, various concurrency issues can pop up. An easy way to reproduce this is to make several connections with the same user in rapid succession, which will often result in unexpected connectivity issues.
I can easily reproduce this with a simple loop in which a bosh session connects, authenticates, waits 500 milliseconds, and disconnects. Within a few iterations (usually around 5 to 10), sessions start exhibiting issues.
This problem possibly was introduced when the implementation was switched to the asynchronous API of Jetty, in OF-885. However, the problem has become more of a problem by an undetermined change between Openfire 4.1.1 and 4.4.4.
I found no information about this issue in the community. We have two ends ”Web and app“, occasionally we have a problems when web side logins. Those two pictures are what happens when something goes wrong. Can you offer some other solutions?