element-hq / element-hq/element-android

429 on initial sync is not handled correctly.

Open
#3,729 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

In this case, we can get 429 with html format

```
HTTP 429:

429 Too Many Requests


No server is available to handle this request.

```

We end up here: https://github.com/vector-im/element-android/blob/e61c8c28bb5878e9966116bca46062a6eb8a5c12/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/SyncTask.kt#L170 and the user is stuck seeing the progress dialog

The user has to restart the app to unlock it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.