element-hq / element-hq/element-web

File uploads timeout too rapidly and can't be retried

Open
#21,343 2 comments 1 reaction 0 assignees View on GitHub
A-File-Upload A-Room-View O-Uncommon S-Major T-Defect Z-ProductPolish
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Simulate bad network connectivity
2. Try to upload a file
3. Get frustrated

### Outcome

#### What did you expect?

I expect the file upload to keep trying to upload until i have good connectivity - or at least queue up with a retry button like my other messages do.

#### What happened instead?

Instead, it gives up after ~30s and then deletes itself from the timeline, meaning i have no retry button, and i have to manually retry to upload again (plus it will now be out of order with my other queued messages). Worse still, you can't tell if the original send even worked, so you end up sending a duplicate (at least in an E2EE room). We're failing our own What Goes Wrong interview question :((

I'm pretty sure this is a regression and that we used to queue these correctly.

### Operating system

macOS

### Application version

Nightly

### How did you install the app?

Nightly

### Homeserver

matrix.org

### Will you send logs?

No

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.