Closed Handrail9 closed 8 months ago
Check what /etc/systemd/system/matrix-mautrix-discord.service
looks like.
Given that you've configured:
matrix_playbook_reverse_proxy_type: other-traefik-container
matrix_playbook_reverse_proxy_container_network: myNetwork
matrix_playbook_reverse_proxy_hostname: traefik
You should see it being connected to the myNetwork
network via docker network connect
.
Looking at your logs, we can see that it's talking to http://traefik:8008
as expected.
What you're probably missing is not following the new step for configuring the new matrix-internal-matrix-client-api
entrypoint on yout own Traefik instance. See the following references:
docs /configuring-playbook-own-webserver.md
Check what
/etc/systemd/system/matrix-mautrix-discord.service
looks like.Given that you've configured:
matrix_playbook_reverse_proxy_type: other-traefik-container matrix_playbook_reverse_proxy_container_network: myNetwork matrix_playbook_reverse_proxy_hostname: traefik
You should see it being connected to the
myNetwork
network viadocker network connect
. Looking at your logs, we can see that it's talking tohttp://traefik:8008
as expected.What you're probably missing is not following the new step for configuring the new
matrix-internal-matrix-client-api
entrypoint on yout own Traefik instance. See the following references:* The [Traefik now has an extra job](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/1b5cbf24c362471bd7d0a96870ec5fe5a4a03b97/CHANGELOG.md#traefik-now-has-an-extra-job) changelog entry * The [People managing their own Traefik instance need to do minor changes](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/1b5cbf24c362471bd7d0a96870ec5fe5a4a03b97/CHANGELOG.md#people-managing-their-own-traefik-instance-need-to-do-minor-changes) changelog entry * The updated [Traefik managed by you](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook-own-webserver.md#traefik-managed-by-you) section in `docs /configuring-playbook-own-webserver.md`
Oh jeez, you're right. I've apparently had the old tab open and cached so long I didn't even notice there was a new change. My apologies!! Thank you for letting me know.
Describe the bug A clear and concise description of what the bug is. When utilizing the "Own Webserver" option of the documentation, specifically the "Traefik managed by you" section, a lot of the bridges seem to break. I've tested a lot of the Mautrix bridges and none of them worked. I did a fresh install to see if it was a configuration issue and it didn't seem to be. I added one Mautrix puppet bridge (Discord) and I believe I found where the issue lies. I am filing this issue here, instead of with the bridges because the issue seems to stem from it not being able to properly find the Traefik router.
To Reproduce My
vars.yml
file looks like this:yaml Paste your vars.yml file here. Make sure to remove any secret values before posting your vars.yml file publicly.
Starting with a new config, use your own traefik container, most bots and bridges don't work
Expected behavior A clear and concise description of what you expected to happen. The bots work Matrix Server:
Client:
Additional context Add any other context about the problem here. Here is the output of
journalctl -fu matrix-mautrix-discord.service
It looks like it has something to do with the bot looking for traefik port 8008 for matrix, instead of 8448 or 443. (I don't know much but I know matrix uses those two ports, and I think 8008 is used at some point but not in some use cases?) I had tried using this playbook a few months back and this wasn't an issue, but I did have a different issue at that time with the users database not allowing new users, and I finally got around to having free time to work on my homelab and now there's this issue lol. Any help with a quick fix for this is greatly appreciated.