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

Unable to download media from the room's Files view, if the server has unauthenticated media access disabled #29014

Open
Feliksas opened this issue Jan 16, 2025 · 0 comments
Labels
A-File-Download A-Media O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@Feliksas
Copy link

Steps to reproduce

  1. Log in to a Synapse server that has enable_authenticated_media config option enabled (any Web browser)
  2. Go to a room that has media posted
  3. Click on the (i) button on the top right, go to Files view
  4. Click the "Download" button for any file

Outcome

What did you expect?

The selected file is downloaded normally.

What happened instead?

A new tab is opened, taking the user to media/v3/download endpoint, server responds with a JSON like:

{
"errcode": "M_NOT_FOUND",
"error": "Not found"
}

it is basically the same issue, as described in element-hq/element-desktop#1911 (comment), occurs with any Web browser on any platform.

Operating system

Widows, Linux

Browser information

Chrome Version 131.0.6778.265, Firefox 134.0.1

URL for webapp

app.element.io

Application version

Element version: 1.11.90 Crypto version: Rust SDK 0.8.0 (21f7cc7), Vodozemac 0.8.1

Homeserver

Synapse 1.122.0

Will you send logs?

No

@dosubot dosubot bot added A-File-Download A-Media O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-File-Download A-Media O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

1 participant