Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
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

xmppipe being kicked from muc and not rejoining #9

Closed
jessiehowell opened this issue Sep 13, 2023 · 1 comment
Closed

xmppipe being kicked from muc and not rejoining #9

jessiehowell opened this issue Sep 13, 2023 · 1 comment

Comments

@jessiehowell
Copy link

jessiehowell commented Sep 13, 2023

I am using xmppipe with openfire version 4.7.5 on redhat 8 linux.

After about 90 minutes xmppipe is kicked from the muc with the following error:

<presence from="muc@domain" to="muc@domain/xmppipe" type="unavailable"><x xmlns="http://jabber.org/protocol/muc#user"><item jid="xmppipe@domain/RESOURCE" affiliation="member" role="none"><reason>User seems to be unreachable (didn't respond to a ping request).</reason></item><status code="307"/><status code="110"/>

xmppipe does not appear to be handling this ping at all, as I don't see it being received from the server in debug output.

I'll try and provide a packet capture to see if I can get the server ping. Alternately, you could probably check for code 307 and reconnect the muc whenever recieved.

@msantos
Copy link
Owner

msantos commented Sep 14, 2023

@jessiehowell thanks for opening an issue about this! You're right, xmppipe didn't install a handler for server pings. Should be fixed in version 0.15.0, please let me know if you are still having problems or run into any other issues!

The code 307 is "Inform user that he or she has been kicked from the room". I run xmppipe under a supervisor so the xmppipe behaviour is usually to exit, get restarted by the supervisor and reconnect. In the case of MUC errors, it makes sense to rejoin. I'll look into handling the 307.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants