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

Comments

1 participant
@SimonWoolf
Copy link
Member

SimonWoolf commented Jul 24, 2018

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