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

ably-java gets into a channel attach retry loop #410

Closed
SimonWoolf opened this issue Jul 24, 2018 · 0 comments
Closed

ably-java gets into a channel attach retry loop #410

SimonWoolf opened this issue Jul 24, 2018 · 0 comments
Labels
bug Something isn't working. It's clear that this does need to be fixed.

Comments

@SimonWoolf
Copy link
Member

https://github.com/ably/ably-java/blob/develop/lib/src/main/java/io/ably/lib/realtime/Channel.java#L948-L952

ably-java reattaches on DETACHED even if connection state was attaching. This is a serious issue as if realtime deliberately refused the attach, you get into a busy loop that can start sending thousands of attaches per second. Correct behaviour is per RTL13 https://docs.ably.io/client-lib-development-guide/features/#RTL13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. It's clear that this does need to be fixed.
Development

No branches or pull requests

1 participant