Closed felix-two-tone closed 1 year ago
This is because we point Dimension to matrix_homeserver_container_url
, which.. if matrix-nginx-proxy
is enabled, points to http://matrix-nginx-proxy:12080
-- a vhost, which can properly forward traffic to the appropriate Synapse worker:
If matrix-nginx-proxy
is disabled (like it is in your configuration), we can't point matrix_homeserver_container_url
to http://matrix-nginx-proxy:12080
(because there is no such container), so we point it directly to Synapse's master
process (http://matrix-synapse:8008
). In that case: if Synapse workers are not enabled, we're still - the Synapse master
process will handle all URL endpoints. If workers are enabled however, Synapse's master
process will refuse to serve media_repository
worker endpoints (like /_matrix/media/r0/upload
), because it's the media_repository
worker that is supposed to be serving those endpoints.
So.. your problem is that.. you're both enabling Synapse workers.. and disabling matrix-nginx-proxy
.. A combination that is destined to bring you pain.
Consider keeping matrix-nginx-proxy
enabled.. or disabling Synapse workers.
If you need another reverse proxy in front, you may be able to follow these docs: Fronting the integrated nginx reverse-proxy webserver with another reverse-proxy.
In 05819056 I've adjusted the documentation to make this more obvious.
Describe the bug Matrix Dimension makes API call to upload media to Matrix at the address matrix-synapse:8008 and receives a 404
To Reproduce My
vars.yml
file looks like this:In the integration manager for dimension, go to settings, the to import sticker packs. Input a sticker pack into the box and click submit. It will load for a second then give an error.
Found this bellow in the log:
Expected behavior Dimension server connect to matrix-synapse and stickers are uploaded.
Matrix Server:
Additional context I believe this is the same issue as #1449
I also attemtped to change the Client/Server address in the config to no avail