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

Fix bug where connectionSerial was not getting reset after a resume failure #540

Merged
merged 1 commit into from
Sep 27, 2018

Conversation

SimonWoolf
Copy link
Member

Investigated one instance of ConnectionMaster.syncForRequest_08() | Unexpected error getting channel backlog; err = [ErrorInfo: Invalid message id; statusCode=400; code=40007 ((fatal))], and it turned out to be a bug in ably-js: the connectionSerial was not getting reset back to -1 after a failed resume. (A single connection is then the cause of many instances of that log line -- one for every resume or transport upgrade after that until the number of messages received on the new connection catches up with the connectionSerial of the old).

Copy link
Member

@paddybyers paddybyers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Good one to find :)

@SimonWoolf SimonWoolf merged commit a521cca into master Sep 27, 2018
@SimonWoolf SimonWoolf deleted the connectionserial branch September 27, 2018 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants