element-hq / element-hq/element-web
Uploads larger than 2GB fail instantly
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Configure a matrix-synapse installation with nginx to allow for uploads larger than 2GB.
2. Attempt to upload a file with a size above 2GB using the Element desktop app.
3. The upload will fail instantly without ever displaying a loading bar. Error message "Upload Failed The file 'filename' failed to upload." with filename being whatever file you tried to upload.
4. Uploads of files up to 1.99GB will not fail this way. If matrix-synapse or nginx are set to lower limits, the upload will fail, but the client will first display a loading bar.
5. The web app is not affected. Could be a memory limitation with Electron.
### Outcome
#### What did you expect?
File uploads successfully or error message explains the reason it won't.
#### What happened instead?
File upload fails instantly without informing the user of the reason.
### Operating system
Windows 10
### Application version
1.10.3
### How did you install the app?
https://element.io/get-started#download Windows 64-bit
### Homeserver
Synapse 1.52.0
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.