element-hq / element-hq/synapse

Unable to load thumbnail image with enable_authenticated_media=True

Open
#18,843 0 comments 0 reactions 0 assignees View on GitHub
A-Media-Repository
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

### Description

Unable to load thumbnail image with enable_authenticated_media=True, crashes with NotFoundError in class ThumbnailProvider method respond_local_thumbnail

### Steps to reproduce

- l in homeserver.py enable_authenticated_media=True
- upload image via UploadServlet on_POST
- download thumbnail ThumbnailResource on_GET

### Homeserver

localhost

### Synapse Version

1.134.0

### Installation Method

pip (from PyPI)

### Database

PostgreSQL

### Workers

Single process

### Platform

docker

### Configuration

_No response_

### Relevant log output

```shell
response {
"errcode": "M_NOT_FOUND",
"error": "Not found"
}
```

### Anything else that would be useful to know?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.