element-hq / element-hq/element-web

Sync loop has stopped

Open
#25,598 2 comments 0 reactions 0 assignees View on GitHub
O-Uncommon S-Major T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

The sync loop isn't running (no sync requests in the network tab) on Element Desktop (stable). It permanently shows:
```
Connectivity to the server has been lost.
Sent messages will be stored until your connection has returned.
```
despite other requests going through fine (/send and /messages). The last log I see which did sync was:
```
Persisted sync data up to s4058696003_757284974_3282399_2180064335_2221157648_4321834_932515937_7628962401_0_128165
```
and then there's a ton of network related errors due to me swapping networks. It sounds like under some circumstances the sync loop isn't retrying correctly on errors.

Sending debug logs.

### Outcome

#### What did you expect?
The sync loop to retry.

#### What happened instead?
It didn't, making it impossible to interact with the app.

### Operating system

macOS

### Application version

Element version: 1.11.31 Olm version: 3.2.14

### How did you install the app?

From element.io (not develop/nightly)

### Homeserver

matrix.org

### Will you send logs?

Yes

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.