You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @poggs ,
I would like to ask if you solve the reconnection issue. My client is getting disconnect quite often and I am not able to determine where reside the problem:
Thanks,
Paul
The main issue with implementing this is that the way stomp.py handles disconnects and reconnects is completely and utterly broken, in some cases the disconnect handler will be fired twice, in some cases (but not others), it'll be run during a failure to connect (especially irritating and problematic if your disconnect handler tries more than once to connect), and in some cases (but not others) an apparently successful reconnection will yield a listener which believes it's connected, but never receives anything ever again
I've made some headway on semaphore-involving workarounds for these issues in ironswallow, which need some more testing, but I'd be happy to submit a PR when I've got something which works reliably
If the connection fails, the client does not automatically reconnect itself - it just waits for a period of time and exits.
Ideally it should reconnect itself and log the disconnection.
The text was updated successfully, but these errors were encountered: