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

Reliable Reconnection #802

Open
14 of 22 tasks
lgrahl opened this issue May 13, 2019 · 1 comment
Open
14 of 22 tasks

Reliable Reconnection #802

lgrahl opened this issue May 13, 2019 · 1 comment
Labels
app-update Requires an app update connectivity Related to connectivity to the app os-android Concerns the Android app os-ios Concerns the iOS app

Comments

@lgrahl
Copy link
Contributor

lgrahl commented May 13, 2019

This is an umbrella issue that tracks known issues related to reconnection attempts which need resolving before we can release the reconnect overhaul code introduced by #792. The rationale here is that the multiple pushes trigger race conditions in both the iOS and the Android app (which is good because at least we can now reproduce them better).

This issue is not intended for discussion. If you encounter further issues you suspect are not listed here or you have new insights, please file a new issue.

Threema Web

SaltyRTC Server

SaltyRTC Client JS

SaltyRTC Client Java

SaltyRTC Client Rust

Android App

  • Must not establish multiple SaltyRTC connections of the same session (internal: ANDR-909).
  • Must not wait until a previous SaltyRTC connection has been stopped / a timer fired when the affiliation id of the push (wca) is different. It should discard the connection and restart the web client session immediately (internal: ANDR-908).
  • Must ignore pushes with the same affiliation id (wca) when it is already connected or currently establishing a connection with that id (internal: ANDR-909).
  • Must not ignore pending wakeups (internal: ANDR-914).
  • Wakeup must work properly (state handling refactoring).
  • Release.

iOS App

  • Must not wait until a previous SaltyRTC connection has been stopped / a timer fired when the affiliation id of the push (wca) is different. It should discard the connection and restart the web client session immediately (internal: IOS-751).
  • Must ignore pushes with the same affiliation id (wca) when it is already connected or currently establishing a connection with that id (internal: IOS-751).
  • Release.
@lgrahl lgrahl added bug It's a bug! ui User interface related app-update Requires an app update connectivity Related to connectivity to the app os-android Concerns the Android app os-ios Concerns the iOS app labels May 13, 2019
@lgrahl lgrahl mentioned this issue May 13, 2019
5 tasks
@lgrahl lgrahl removed bug It's a bug! ui User interface related labels May 13, 2019
@lgrahl lgrahl pinned this issue May 13, 2019
@lgrahl lgrahl mentioned this issue Jun 12, 2019
@lgrahl
Copy link
Contributor Author

lgrahl commented Aug 21, 2019

Just wanted to let everyone know that we've resolved a couple of race conditions in the Android app that resulted in reconnect attempts being ignored. Should be in the next release.

@dbrgn dbrgn unpinned this issue Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-update Requires an app update connectivity Related to connectivity to the app os-android Concerns the Android app os-ios Concerns the iOS app
Development

No branches or pull requests

1 participant