This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
500 Internal server error on thumbnail download if width/height params missing #2748
Comments
@babolivier: are you saying that no thumbnails work at all? Or is this just affecting some media? |
This failed with each thumbnail I tried to load. |
is it still a problem? |
I just realised I didn't specify width and height parameters. Works now with them, and still returns a 500 error when I don't input them. That being said, I think the error is quite misleading and made me think "there's an issue with synapse" instead of "I should check the spec to see if I didn't forget anything". |
sure, missing params should be a 400, not a 500 |
richvdh
changed the title
500 Internal server error on thumbnail download
500 Internal server error on thumbnail download if width/height params missing
Jan 30, 2018
richvdh
added
the
Z-Help-Wanted
We know exactly how to fix this issue, and would be grateful for any contribution
label
Jan 30, 2018
The spec claims those parameters are optional atm, fwiw. |
richvdh
removed
good first issue
Z-Help-Wanted
We know exactly how to fix this issue, and would be grateful for any contribution
labels
Feb 13, 2019
blocked on a decision on matrix-org/matrix-spec-proposals#1883 |
This was referenced Apr 25, 2019
No longer blocked; we should return a 400 if the params are missing |
3 tasks
erikjohnston
pushed a commit
that referenced
this issue
May 29, 2019
…5258) Fix error when downloading thumbnail with width/height param missing Fixes #2748 Signed-off-by: Aaron Raimist <[email protected]>
fixed by #5258 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
When I request the thumbnail for a picture, Synapse responds with a 500 Internal error.
Steps to reproduce
https://[your homeserver]/_matrix/media/r0/thumbnail/matrix.org/[media ID]
There's also a trace in the logs when I perform the request:
The media ID is redacted because I witnessed it on several medias (all hosted on matrix.org, though, I didn't try the other way round).
Version information
About matrix.trancendances.fr:
The text was updated successfully, but these errors were encountered: