synapse-admin icon indicating copy to clipboard operation
synapse-admin copied to clipboard

[Bug?] Unable to download any media

Open OdinVex opened this issue 5 months ago • 1 comments

For quite a long time I've not been able to download any media, they'll always return M_NOT_FOUND.

I know the API endpoints were changed, tried accessing the new way manually (Synapse-Admin is supposedly using an old, invalid way?) but the URI is M_MISSING_TOKEN, not sure how to approach this.

https://matrix.org/docs/spec-guides/authed-media-servers/

OdinVex avatar Oct 03 '25 19:10 OdinVex

I was able to adjust my URI and add my access token to access files, but they're of course encrypted:

https://HOST_NAME/_matrix/client/v1/media/download/SERVER_NAME/MEDIA_ID?access_token=ACCESS_TOKEN

Edit: Used the event for the delivery to grab the keys to decrypt it manually. It's a workaround, for now.

OdinVex avatar Oct 03 '25 19:10 OdinVex