-
Notifications
You must be signed in to change notification settings - Fork 721
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
Matrix Integration does not work #2822
Comments
Reproducing on latest docker. No logs suggest an issue. I went into the "bot" account (this should really use an AppService in future) manually and saw that it did sign into the account, but it hadn't even joined the channel. I had it join the channel while I was still logged in but no change. |
This is working for me. I just tested with https://element.io/ and https://matrix.org. In the Miniflux logs, you should see a message like this one when new entries are created:
If that doesn't work, you should see an error with the message If you don't see anything in the logs, then it's most likely a misconfiguration in the integration settings. Note that only new entries are sent to Matrix during feed refreshes. |
I'm not using an integration manager service, since my server is not federated. This is likely the root cause, but since there are no corresponding error messages from Miniflux, I can't tell for sure. It would be helpful if Miniflux was more verbose here. I did not see anything like the example messages you provided. |
I just got notifs from Matrix! I don't think Miniflux is properly using the .well-known file. I had to both log in as the bot manually to make it join the channel and then set "matrix server URL" to the protocol link (ie, |
I've also manually joined the channel as the bot and set everything up as shown in your example, but nothing changed. I use the root of the domain btw, not a subdomain. Reverse proxies are great. 💯 I don't think Miniflux uses the well-known file at all, but to be sure, we'd have to check the source of course. |
The code is very easy to read. It's only 2 files:
Let me know if something is missing in the discovery process: v2/internal/integration/matrixbot/client.go Lines 28 to 60 in 95201fc
|
Are you certain that you use the root domain for the matrix protocol? If you use a well-known file, that's using the root domain to redirect to a different domain (for me, it's the matrix subdomain, which is why that matrix server address works for me). For example, my well-known file on my root redirects to the matrix subdomain. |
Unfortunately I do not know Go very well - but I'm not familiar with the details of discovery and authentication processes anyway. My approaches to solving this issue were rather high-level, I'm afraid.
Yes indeed, but some clients still needed the .well-known file iirc. I set the server up quite a while ago... |
Hi, I've tried to set up the Matrix Integration, but Miniflux never sends any messages to my Matrix server.
Everything is set up according to the documentation, I also tried different room and user settings.
There are no outgoing requests shown in the -debug log either, nor do the NginX logs show any incoming requests.
The text was updated successfully, but these errors were encountered: