jaxl/JAXL

enable XMPPStream reconnection after successful logout or server disconnect

Opened this issue · 3 comments

Same instance of XMPP Client should be able to reconnect after:

  • successfully logging out
  • server shutdown/disconnect

+1

+1 on this - it seems there's no way to reconnect from within on_disconnect. I've tried calling start() from an on_disconnect handler, but that just bombs out with:

jaxl:794 - 2013-08-01 15:13:52 - event 'connect' catched in handle_other with stanza name tcp://talk.google.com:5222
xmpp_stream:112 - 2013-08-01 15:13:52 - got invalid return value from state handler 'logged_in', sending end stream...
xmpp_stream:115 - 2013-08-01 15:13:52 - state handler 'logged_out' returned N;, kindly report this to developers
jaxl:230 - 2013-08-01 15:13:52 - cleaning up pid and unix sock files
jaxl_clock:55 - 2013-08-01 15:13:52 - shutting down clock server...

This would be very useful! 👍