Skip to content
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

Devices can get out of sync between Synapse and MAS #2626

Closed
matrixbot opened this issue Sep 10, 2024 · 3 comments
Closed

Devices can get out of sync between Synapse and MAS #2626

matrixbot opened this issue Sep 10, 2024 · 3 comments
Labels
A-Device-Management Related to sessions and device management A-Homeserver-Integration Integration with the homeserver T-Defect Something isn't working

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @sandhose at matrix-org/matrix-authentication-service#2626.

The provisioning and deletion of devices is not exactly reliable (see #2625), which means sometimes the device list in Synapse gets out of sync with the one in MAS.

The long term solution may be to correctly model Matrix devices in MAS instead of relying solely on the scope for OAuth sessions and on a field in the compatibility sessions.

In the meantime, we should at least have a way to force a re-sync of the whole device list for a user, and maybe even regularly do that for all users.

@matrixbot matrixbot added A-Device-Management Related to sessions and device management A-Homeserver-Integration Integration with the homeserver T-Defect Something isn't working labels Sep 10, 2024
@teutat3s
Copy link

I'm not sure how this was closed, but this is still important to me. On our HS this happened and the only workaround we found was a restart of mas.

@teutat3s
Copy link

Friendly ping to @sandhose

@sandhose
Copy link
Member

sandhose commented Oct 30, 2024

This in the end is due to the unreliability of the job queue, which is being rewritten, see #2785

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Device-Management Related to sessions and device management A-Homeserver-Integration Integration with the homeserver T-Defect Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants