-
Notifications
You must be signed in to change notification settings - Fork 104
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
Resubscribe channel after reconnect even though channel has been unsubscribed before being disconnected #46
Comments
Hello! Thanks for report! This looks like a bug - does this happen with latest client version? |
@rlebosse thanks for pointing on this, I just merged a fix, will create new release soon, if you have a time to verify that problem gone away with that patch - it would be cool. |
@FZambia thanks for you reactivity ! I just tried centrifuge-js new version (1.4.7) and I'm facing another issue, which might be a consequence of fixing this one.
Do you know why it does so ? Do you want me to create a new issue to handle this bug ? |
@rlebosse I will try to reproduce ASAP. At least how this must work:
|
@rlebosse just reproduced and fixed - yes, that was introduced in 1.4.7. There was an attempt to fix resubscribing when calling Centrifugo HTTP API unsubscribe method - but looks like it's not possible at moment and will be implemented in future with some changes on Centrifugo server side. At moment when calling If you don't use HTTP API unsubscribe then things should work ok for you now. |
The fix for HTTP API unsubscribe resubscribe behaviour started here - as soon as it released I will update this client. |
Should be fixed in 1.5.0 |
I created a Centrifuge client with
retry: true
,resubscribe: true
and connected it.mychannel
.mychannel
.mychannel
.Is this normal considering the fact that I intentionnally unsubscribed this channel before the disconnection, meaning that I wanted it unsubscribed, even after the client disconnection-reconnection.
Thanks a lot !
The text was updated successfully, but these errors were encountered: