-
Notifications
You must be signed in to change notification settings - Fork 32
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
XMPP server dying kills xmpp-ftw #24
Comments
Auto-reconnect? |
Am currently catching unhahndled exceptions in https://github.com/lloydwatkin/xmpp-ftw-demo which prevents the system coming down for everyone but this isn't an ideal mechanism. Ideally detect + reconnect as mentioned above? |
Facing something similar. Any suggestions on how to handle xmpp server dying. Is there any way to check connection? |
@shobhitsinghal624 this should be handled now, please let me know if not? Auto-reconnect I'd suggest listening for disconnect event (or similar) on whatever websocket library you are using and reconnect if you see it. In one app we do a ping (http://xmpp.org/extensions/xep-0199.html) where we really want to ensure the connection is there. |
Fix this, and ensure user is given a sensible error message.
The text was updated successfully, but these errors were encountered: