element-hq / element-hq/hydrogen-web

Sync transaction gets seemingly spontaneously aborted, bricking sync.

Open
#180 7 comments 1 reaction 0 assignees View on GitHub
bug hard-to-reproduce storage
Dominant language
TypeScript
Stars
714
Forks
131
PR merge metrics
No merged PRs in 30d

Description

It tries to abort again and fails, logging `Could not abort sync transaction, the sync response was probably only partially written and may have put storage in a inconsistent state.` Then it logs the real error: `(name: AbortError) The transaction was aborted, so the request cannot be fulfilled`. We should not try to abort again in any case when the browser aborts for their own reasons (like suspending the machine? see below) but not sure when we should retry syncing again ...

Kegan possibly to have run into this when his mac was suspending.

Also, Matthew has run into this as well, also on Mac, but both Kegan and Matthew had this when trying hydrogen with dendite ... which is really weird?

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.