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

DETACHED with error still means detached, not failed #312

Closed
paddybyers opened this issue Jul 13, 2016 · 1 comment
Closed

DETACHED with error still means detached, not failed #312

paddybyers opened this issue Jul 13, 2016 · 1 comment

Comments

@paddybyers
Copy link
Member

I’m running the deploy-cores-with-lots-of-active-channels test, and under load we get some channels being detached, which results in a DETACHED message with error sent to the client.

However, in ably-js we then transition to failed instead of detached:

Ably: Transport.onProtocolMessage(): received on web_socket: [ProtocolMessage; action=DETACHED; channel=testchannel923; error=[ErrorInfo: Master retired/disabled; statusCode=400; code=40000]]
Ably: Channel state for channel "testchannel923": failed; reason: Master retired/disabled, code: 40000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants