Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "Upload Error" message when filesize upload exceeds server limit #3245

Closed
dykstranet opened this issue Apr 29, 2021 · 2 comments
Closed
Assignees

Comments

@dykstranet
Copy link

Describe the bug

Large files appear to upload, but fail at the end if they are too large.

To Reproduce

Steps to reproduce the behavior:

  1. Upload file that exceeds server limit
  2. Observe error message with no details

Expected behavior

Display an error with details, similar to what happens in the Element web client,
Upload_error_2021-04-29_12-37

Smartphone (please complete the following information):

  • Device: Samsung S9+
  • OS: Android 10

Additional context

  • App version and store 1.1.6 from Google Play Store
  • Homeserver: Matrix Synapse 1.31.0 (private)
@bmarty bmarty self-assigned this Apr 30, 2021
@bmarty
Copy link
Member

bmarty commented Apr 30, 2021

After a quick look, it appears that the code does not check for attachment size when you share a file from a third party app to Element. Is it your use case?

From a timeline, if you click on the plus button, then select a big file to share, a check is done on the size.

Anyway I will imporve that code and let the MatrixSDK check for file size, which can also change if file is encrypted and/or reduces (image/video compression)

@bmarty
Copy link
Member

bmarty commented May 5, 2021

Fixed in 1.1.7 (#3264)

@bmarty bmarty closed this as completed May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants