mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #1257] Matrix integration broken in 4.0 #849
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#849
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @estevez-dev on GitHub (Jan 23, 2026).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/1257
After updating to version 4.0, Matrix integration stopped working.
Here are logs from the Matrix server:
In version 3.13, this setup worked fine.
Docker.
MATRIX_HOMESERVERandMATRIX_USER_IDset.MATRIX_ACCESS_TOKENis populated with a personal token generated in Element Admin.Login API call from docs doesn't applicable as I'm using Matrix Authentication Server.
@cuu508 commented on GitHub (Jan 23, 2026):
In 4.0 there is a code change to use a newer Matrix client-server API endpoint.
Issue: https://github.com/healthchecks/healthchecks/issues/1244
Commit:
dbd9677b8aThe changes in nutshell were:
/_matrix/client/r0/rooms/{room_id}/send/m.room.messageto/_matrix/client/v3/rooms/{room_id}/send/m.room.message/{random_token}I tested the changes against matrix.org.
Are you perhaps running an old version of Synapse?
If Healthchecks is using Matrix client-server API incorrectly, I'm happy to work on fixing it, but I will need some help in figuring out what precisely is being done incorrectly.
@estevez-dev commented on GitHub (Jan 23, 2026):
I'm using Synapse 1.144.0. Not the latest, but a fresh one. I'm not very familiar with the Matrix API. Maybe the
MATRIX_ACCESS_TOKENneeded for this integration is not the same as the one I'm generating in Element Admin. I'll try to upgrade Synapse to the latest version and investigate the tokens.@estevez-dev commented on GitHub (Jan 23, 2026):
I managed to fix that. For the new API to work, a Matrix device should be provisioned for the access token.
In Element Admin, it is done by enabling
urn:matrix:client:device:scope when creating an access token.