synapse-admin
synapse-admin copied to clipboard
[Bug?] Unable to download any media
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/
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.