nextcloud / nextcloud/talk-android
exponential backoff handling for websocket reconnect
Open
@mahibi is already working on this.
Since May 27, 2025.
1. to develop
- Dominant language
- Kotlin
- Stars
- 739
- Forks
- 321
- Avg merge
- 14h 59m
- Merged PRs (30d)
- 151
Description
Websocket retry handling is going wild in some cases.
(also when app is in background, probably because android restricts access in this case).
Errors like these are logged:
HTTP FAILED: java.net.UnknownHostException
WebSocketInstance com.nextcloud.talk2 E Error : WebSocket 211756568 java.net.SocketException: Software caused connection abort
There needs to be an exponential backoff handling to not stress the devices.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.