Skip to content

Automatic presence re-enter after network connection is back does not work #857

@KacperKluka

Description

@KacperKluka

We've discovered that a channel's presence is not automatically re-entered once you lose an internet connection and then it comes back on. After some further investigation, it turns out that this feature was working on older versions of ably-java SDK but it stopped working since version 1.2.2. Looking at the release notes of version 1.2.2 the most likely cause of this issue is the "Bump protocol version to 1.2".

Steps to reproduce:

  • Create an AblyReatlime instance
  • Join a channel's presence
  • Verify that the client has joined the channel's presence (e.g. with the Ably dev dashboard)
  • Turn the internet connection off
  • Wait for the automatic "leave" event on the channel's presence
  • Turn the internet connection on
  • Wait for the automatic "enter" event

What should happen: The client should automatically re-enter the channel's presence after a few seconds
What happens: The client never re-enters the channel's presence

Metadata

Metadata

Assignees

Labels

bugSomething isn't working. It's clear that this does need to be fixed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions