Slavi Pantaleev
44b43a51b9
Add retry logic for Synapse user registration on HMAC failure
...
When the registration_shared_secret changes (derived from
matrix_synapse_macaroon_secret_key), a running Synapse container still
has the old secret in its config. This causes register_new_matrix_user
to fail with "HMAC incorrect" when the matrix-user-creator role tries
to register users.
This mirrors the approach from 2a581cce (which added similar retry
logic for the Matrix Authentication Service on database auth failure):
if the initial registration attempt fails with an HMAC error, restart
Synapse (picking up the new config with the updated secret), wait for
it to start, and retry.
Caused by c21a80d232
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-09 06:29:14 +02:00
..
2026-02-08 16:34:35 +02:00
2026-02-04 10:46:09 +02:00
2025-07-26 17:50:20 +03:00
2025-12-18 16:48:46 +02:00
2026-01-27 21:18:40 +02:00
2026-02-08 09:35:51 +02:00
2026-02-04 04:21:47 +02:00
2025-07-26 17:58:12 +03:00
2025-12-18 16:48:46 +02:00
2026-02-08 21:54:38 +09:00
2025-08-14 21:25:52 +00:00
2025-12-02 21:32:15 +02:00
2025-09-21 15:56:56 +00:00
2025-11-17 18:24:25 +02:00
2025-12-02 21:32:15 +02:00
2025-07-26 17:58:12 +03:00
2026-01-29 12:08:59 +02:00
2025-09-06 08:03:36 +03:00
2025-08-01 15:07:52 +03:00
2025-09-06 08:03:36 +03:00
2025-10-04 11:47:10 +00:00
2026-01-30 21:15:05 +02:00
2025-10-18 06:41:30 +03:00
2025-10-14 18:40:40 +03:00
2026-01-16 22:26:58 +02:00
2025-07-26 17:58:12 +03:00
2025-12-16 17:01:19 +02:00
2025-12-16 17:01:19 +02:00
2026-01-16 22:26:48 +02:00
2025-11-16 15:09:15 +02:00
2025-09-06 08:03:36 +03:00
2025-11-16 15:09:30 +02:00
2026-01-16 22:28:12 +02:00
2025-12-02 21:32:15 +02:00
2025-07-26 17:58:12 +03:00
2025-07-26 17:58:12 +03:00
2025-12-21 17:07:14 +00:00
2025-12-02 21:32:15 +02:00
2026-01-08 06:56:55 +02:00
2025-09-06 08:03:36 +03:00
2025-12-02 21:32:15 +02:00
2025-12-08 11:25:51 +02:00
2026-02-08 21:54:38 +09:00
2026-02-08 21:54:38 +09:00
2026-02-08 21:54:38 +09:00
2026-02-08 21:54:38 +09:00
2025-03-03 17:58:28 +09:00
2025-12-31 06:34:57 +02:00
2025-07-26 17:58:12 +03:00
2025-07-26 17:58:12 +03:00
2025-11-26 11:35:09 +02:00
2026-01-27 22:46:31 +02:00
2025-08-15 16:11:05 +03:00
2025-12-02 20:10:35 +02:00
2025-12-10 21:59:48 +02:00
2025-12-02 20:10:35 +02:00
2025-12-02 21:32:15 +02:00
2026-01-15 20:30:02 +02:00
2025-12-19 19:17:18 +02:00
2026-01-10 15:07:12 +02:00
2025-12-02 21:32:15 +02:00
2025-07-26 17:58:12 +03:00
2025-03-03 12:13:29 +09:00
2025-12-02 21:32:15 +02:00
2025-07-26 17:58:12 +03:00
2025-12-08 11:25:51 +02:00
2025-12-02 21:32:15 +02:00
2026-02-08 09:35:51 +02:00
2026-02-08 21:54:38 +09:00
2025-11-26 11:35:09 +02:00
2026-02-05 06:36:46 +02:00
2025-07-26 17:58:12 +03:00
2026-02-09 06:29:14 +02:00
2025-07-26 17:58:12 +03:00