-
Notifications
You must be signed in to change notification settings - Fork 190
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
Synapse 1.111.0 in Worker mode does not register new authenticated media endpoints #17473
Comments
The issue is that |
Agreed. Either we should:
|
I think the preferred approach going forward should be to ensure that when specifying the |
…#17483) This is in response to issue #17473. Not all the necessary handlers to deal with media requests are started now when configuring synapse to use a media worker as per the [example config](https://element-hq.github.io/synapse/latest/workers.html#synapseappmedia_repository). The new media endpoints introduced with authenticated media fall under the `client` & `federation` handlers in synapse. This PR starts up handlers for the new media endpoints if a worker has been configured with only the `media` resource type. ### Pull Request Checklist <!-- Please read https://element-hq.github.io/synapse/latest/development/contributing_guide.html before submitting your pull request --> * [X] Pull request is based on the develop branch * [x] Pull request includes a [changelog file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog). The entry should: - Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from `EventStore` to `EventWorkerStore`.". - Use markdown where necessary, mostly for `code blocks`. - End with either a period (.) or an exclamation mark (!). - Start with a capital letter. - Feel free to credit yourself, by adding a sentence "Contributed by @github_username." or "Contributed by [Your Name]." to the end of the entry. * [X] [Code style](https://element-hq.github.io/synapse/latest/code_style.html) is correct (run the [linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters)) --------- Co-authored-by: Andrew Morgan <[email protected]>
It might be nice to add a link to this to the upgrade notes as well. |
I don't think there's any point in adding upgrade notes for a bug that was already fixed and released 🤔 @devonh the issue can probably be closed now? |
Ah, then I seem to have overlooked it in the release notes. |
Just to clarify, in case someone else is confused with this: As of 1.114, this fix is included. 1.113 does not have it yet. |
Description
I use a workers configuration for my synapse with a media worker. I already updated my ingress to forward the new authenticated endpoints to the media worker instance. But all of them are returned with 404.
It looks like that the new endpoints are not registered on startup on the media server
Steps to reproduce
Homeserver
babel1.eu
Synapse Version
v1.111.0
Installation Method
Docker (matrixdotorg/synapse)
Database
postgres
Workers
Multiple workers
Platform
Ubuntu 22.04, Kubernetes
Configuration
Relevant log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: