BOSH Concurrency issue

Description

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.

Environment

None

Activity

Show:
Ladd
December 24, 2020, 1:05 AM

I have a problem when login use strophe.js .I send the Iq

but ,I receive this message

I put the screenshots in github you can see it 。

issue01 issue02 the version of openfire is Openfire4.5.1

Looking forward to your reply。

Guus der Kinderen
December 24, 2020, 9:28 AM

I don’t see how your issue is related to OF-2156. Kindly seek help in our community, at https://discourse.igniterealtime.org/

Ladd
December 24, 2020, 3:06 PM

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?

Guus der Kinderen
December 24, 2020, 3:15 PM

Stop using Jira as a support channel. Please use https://discourse.igniterealtime.org/ instead.

Fixed

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Fix versions

Priority

Critical
Configure