New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus User goes offline #60

Closed
ageekhere opened this Issue Mar 19, 2018 · 6 comments

Comments

Projects
None yet
5 participants
@ageekhere
Copy link

ageekhere commented Mar 19, 2018

system
ubuntu 16.04
Openfire 4.2.2
Openfire Focus Provider 0.9.3
Openfire-Meetings 0.9.3

Problem
Something can cause the Focus User to become offline which results in users unable to connect to a video conference.
Have to restart Focus Provider to fix.

Errors
WARN [Smack Packet Reader (0)]: org.jivesoftware.smack.AbstractXMPPConnection - Connection XMPPTCPConnection[focus@myddns.com/focus71688514975650] (0) closed with error java.lang.IllegalStateException: Could not transform string 'undefined_condition' to XMPPErrorCondition Caused by: java.lang.IllegalArgumentException: No enum constant org.jivesoftware.smack.packet.StreamError.Condition.undefined_condition INFO [pool-3230-thread-2]: org.jitsi.jicofo.FocusManager - Exception while trying to start the conference java.lang.IllegalArgumentException: The Resourcepart must not be null

@guusdk

This comment has been minimized.

Copy link
Member

guusdk commented Mar 19, 2018

Thanks for reporting this.

WARN [Smack Packet Reader (0)]: org.jivesoftware.smack.AbstractXMPPConnection - Connection XMPPTCPConnection[focus@myddns.com/focus71688514975650] (0) closed with error java.lang.IllegalStateException: Could not transform string 'undefined_condition' to XMPPErrorCondition Caused by: java.lang.IllegalArgumentException: No enum constant org.jivesoftware.smack.packet.StreamError.Condition.undefined_condition

I recognize this as a bug (that has already been fixed) in the Smack library. Supposedly, the Smack library that's used in the Focus provider needs an update.

@arudnev

This comment has been minimized.

Copy link

arudnev commented Mar 23, 2018

Upgrading to the latest smack will give more meaningful error message, but root cause is that StreamManager terminates connection because of the client (in this case focus) acknowledging stanzas before they get to be known to the StreamManager.

https://discourse.igniterealtime.org/t/server-terminates-client-connection-due-to-the-client-acknowledging-a-stanza-that-was-not-sent-by-the-server/80937

We set stream.management.active system property to false as a workaround for now, but would be great to fix that issue in openfire.

@Kyoshiro-san

This comment has been minimized.

Copy link

Kyoshiro-san commented Mar 26, 2018

I'm having the same issue after updating Openfire from 4.1.6 to 4.2.3 today on Debian Jessie (oldstable), using .deb Debian package. Plugins versions are:
Openfire Focus Provider 0.9.3
Openfire Meetings 0.9.3

Although I don't see any error in the logs between the last successful session and the first failed one, I can see that focus user did disconnect in the meantime.

@ageekhere

This comment has been minimized.

Copy link
Author

ageekhere commented Jul 7, 2018

Same issue with 0.9.4 Release

@deleolajide

This comment has been minimized.

Copy link
Member

deleolajide commented Jul 7, 2018

Switch stream management off for now. That’s what I had to do

@guusdk

This comment has been minimized.

Copy link
Member

guusdk commented Feb 10, 2019

This problem was fixed in Openfire 4.3.0.

@guusdk guusdk closed this Feb 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment