nextcloud / nextcloud/talk-android

exponential backoff handling for websocket reconnect

Open
#4,997 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.